On Jan 8, 11:09 am, Mel <[email protected]> wrote:
> It is not a problem, but, if I have 20 input fields do I have to find
> their values using the DOM.  It is a bit frustrating when a submit
> button creates a encoded url in one click.
>

It does, but it doesn't just create an encoded url. It submits a GET
request as well and you get the result in your browser.

What you want to do, though, is create an encoded url without
submitting that request. You want to use the encoded url in a
different way. So you need to abandon using the form, and in doing
that you need to create the url yourself.

Even though you can intercept the form's submit event and can stop it
actually submitting the form, you can't get at the encoded url at that
stage in order to do a GDownloadUrl with it. I'm sure it's not
available via the "action" property -- all that ever holds is the base
url without the querystring the form would submit.

Andrew
-- 
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.


Reply via email to