On Sep 2, 12:55 pm, Mike Borkus <[email protected]> wrote:
> so i should use it like this,

It would be far easier without a code listing. The Groups interface
mangles code.

I'd suggest putting the callback function separately rather than use
an anonymous in-line function, because that makes the code far easier
to read and follow, and to maintain later on when you need to:

function updateMessage(data,responseCode) {...};
GDownloadUrl(url,updateMessage,query);

You don't need the MIME type if you're using the default one.

However: the current query still contains the NAME of the image file,
doesn't it, rather than the content of that file? I don't know how to
get the content of a file included in the way you want to do it --
that is, you're not actually submitting a form. You're using a
Javascript function to read the content of a form and send it; I'm not
certain that it's actually possible to upload a file that way. Others
may know better.

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