I have fixed lattitude, and longitude (lat, lng) values in my SQL database. Now I want to do following: when i enter the name of the city in the searchbox, on an onClick event it sends the data via POST to the php file, and makes a SQL query wich returns the lat, lng data. Now I want to call the javascript function for loading the map with the lat, lng parameters from the PHP file. I want all this to happen on a simple onClick event.I have fixed lattitude, and longitude (lat, lng