Get Text box value using Java script

I have two text boxes. Country and City. I am using type ahead in city text box. I want to show the city name according to the country which i typed. How can i pass country value using java script to my PHP function to get correct city name.
 
Back
Top