Ups, my doom ass, I was making this run on a not new browser, so don't know
what to do with the FormData, now in chrome it's works.

Thanks, now I gonna make some test using this on a servert ( and take a look
the CORS compatibility )

Sorry for the mess!

On Tue, Mar 29, 2011 at 2:25 PM, mightymightyblues <
[email protected]> wrote:

> Hi, I have this code:
>
> public native void callServer() /*-{
>                var fd = new FormData();
>                fd.append("fileField", "hola");
>                var xhr = new XMLHttpRequest();
>                xhr.open("POST", "file_handler.php");
>                xhr.send(fd);
> }-*/;
>
> But the debug say:
> ....:FormData is not defined
>
> I can't do this with GWT ??!! I really don't understand why not found
> a javascript funcion ...
>
> thanks for all.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to