Tag: xmlhttprequest

63 votes
9 answers
1.2K views
Handling cookies in PhoneGap/Cordova

I'm working on a PhoneGap app with server session usage. It needs cookies to handle the session. Addition

avatar
Dorian
0 1 0 9
asked 07 September, 2021
62 votes
18 answers
1.2K views
Origin is not allowed by Access-Control-Allow-Origin

I'm making an Ajax.request to a remote PHP server in a Sencha Touch 2 application (wrapped in PhoneGap).

avatar
Patsy
0 1 0 9
asked 07 September, 2021
63 votes
8 answers
2.3K views
How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?

In Firefox 3, the answer is 6 per domain: as soon as a 7th XmlHttpRequest (on any tab) to the same domain is f

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
51 votes
13 answers
1.6K views
Send POST data using XMLHttpRequest

I'd like to send some data using an XMLHttpRequest in JavaScript. Say I have the following form in HTML:

avatar
Jesenia
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
2.6K views
How can I upload files asynchronously with jQuery?

I would like to upload a file asynchronously with jQuery. $(document).ready(function () { $("#uploa

avatar
Dario
0 1 0 9
asked 07 September, 2021