Getting the value in Javascript is easy:
var City = myForm.elements["txtCity"].value;
The ajax is a bit more tricky and i suggest you go read some primers on it but, in any event, the most you are going to be able to do with Ajax is get the value of your text box, send that value to another page on the server, have some sort of processing done and a value returned to your Ajax script were you can change the host page.
I am not sure if that is what you are looking for or not.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========