aubreylc
08-07-2009, 12:38 PM
I'm using the following code to post Physical addresses to Google maps. When I use a text area instead of a standard form, the code won't work. If I use what I have below it does work. The problem is, I cannot copy an address and paste it into the form below because -of course, it will only paste one line at a time.
what the heck am I doing wrong?
<FORM name="GoogleMaps" method=GET action="http://maps.google.ca" target=_blank
onsubmit="window.setTimeout('document.GoogleMaps.q.value=\'\';', 1500); return true;">
<div align="right">
<INPUT TYPE=text name=q size=25 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Go">
</div>
</form>
what the heck am I doing wrong?
<FORM name="GoogleMaps" method=GET action="http://maps.google.ca" target=_blank
onsubmit="window.setTimeout('document.GoogleMaps.q.value=\'\';', 1500); return true;">
<div align="right">
<INPUT TYPE=text name=q size=25 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Go">
</div>
</form>