Disregard. I got it working. Thanks On Dec 7, 11:08 am, Scott Kustes <[email protected]> wrote: > Hey Mike, > That's a good idea. When I submit the page, I'm pulling in an action > file that scrubs the data, makes sure it's in the right format, all > req'd fields are filled out, etc. How would I do that through AJAX > before I call the create_search_xml.php file that's going to feed back > the search results? Do I just change my Submit button to a regular > button with an onclick that calls JavaScript and use GDownloadUrl to > call my action page? > > Sorry for all the questions...this is my first time interacting with > AJAX and the maps. > > Cheers > Scott > > On Dec 7, 2:56 am, Mike Williams <[email protected]> wrote: > > > I recommend not reloading the page when your form is submitted. Consider > > plotting the data on the map on the existing copy of the page. The usual > > main advantage of this is that it's more efficient. In your particular > > case it would also avoid your current problem where the code on the new > > page tries to create a map in a container div that doesn't yet exist (in > > single-pass browsers such as Firefox). > > > -- > > Mike Williamshttp://econym.org.uk/gmap
-- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
