JavaScript does not handle "uploading"; you'll need to have some code
written on the server to handle a POST request with the data you are
posting.

Inside a WebView, you can use the XHR object to make your call to your
server asynchronously, but JavaScript itself can't actually do the
uploading of the data.

On Feb 1, 6:55 am, Jags <[email protected]> wrote:
> I need a javascript snippet to upload some data to a server, any
> sample code ? basically what i need is a page loads and the java
> script loads as part of thet page. that page also puts some data in
> hidden value. (or suggest better alternative). now, as soon as the
> page loads completely, the javascript uploads the data in hidden
> variable to another web server.
>
> please give me some pointers and code snippets. i need it to run in
> android browser

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en

Reply via email to