I’m trying to build a form which submits a URL which contains a lon/lat that has been passed over from Google Maps. I have managed to get it so the lon/lat is passed into input fields in the form, how would I go about using these values dynamically in the post URL, i.e.:
action="search.asp?[lon][lat]
Using javascript you can change the action attribute of the form. So, create a form..
Then in the head of the page add the setAction function..
Hope this helps, it’s how I have done this in the past!