close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Does the page have to reload once a user clicks on the submit button?

Thread began 3/03/2009 2:45 pm by jules.webb286095 | Last modified 5/24/2009 3:36 am by jules.webb286095 | 5368 views | 6 replies


I'm sorry Ray, I'm just not getting it.

Just to make sure we understand each other:
I want to prevent the page from reloading so that after the submit button on the getDircections form is clicked the information is loaded into the wagmp_directions_1 div without the whole page having to reload. I am not interested in a separate info window opening up. The function your example code came out of (see below) doesn't look like it'll do what I want. And the page you referred me to doesn't have a form to get directions anyways, which is confusing to me and why I don't think we are talking about the same thing. Would you mind have another go at an explanation for me?

Thanks, I appreciate you taking the time!

function updateInfoWindow() {
wagmp_map_1_obj.markers[0].openInfoWindowHtml('<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>from address:</strong><br><input id="fromaddress" type="text"><br><strong>city, state:</strong><br><input id="fromcity" type="text"><br><input type="button" value="get directions" onClick="wagmp_map_1(document.getElementById(\'fromaddress\').value+\', \'+document.getElementById(\'fromcity\').value)"></span>')

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...