Skip to main content

Bug Tracker

Side navigation

#5093 closed bug (duplicate)

Opened August 21, 2009 11:24PM UTC

Closed October 19, 2010 11:25PM UTC

Last modified October 19, 2010 11:25PM UTC

$.post() and $.get() XML bug

Reported by: Vadtec Owned by:
Priority: major Milestone: 1.3.2
Component: ajax Version: 1.3.2
Keywords: post, get, xml, ajax Cc:
Blocked by: Blocking:

I am using jQuery 1.3.2 with FireFox 3.5.2 on Windows XP, FireFox 3.0.11 on CentOS 5.3 (Linux 2.6.18-128.2.1.el5 #1 SMP Tue Jul 14 06:39:56 EDT 2009 i686 athlon i386 GNU/Linux) and IE 6 on Windows XP.

I am trying to use the following code:

if ($) {


function() {

var my_sid = 12345;

console.log("SID: " + my_sid);



{sid: my_sid},

function (xml) {








If I pass data, in FireBug I see the HTTP POST request and response and it works properly, however, the callback function is never called. Thus, in the console log I see:

SID: 12345

HTTP POST & response

If I comment out the data and run the code, in FireBug I see:

SID: 12345

HTTP POST & response


After talking to atula in #jquery on freenode, I removed the 'xml' parameter and everything worked just fine in all 3 browsers.

So simply put, having the 'xml' parameter causes the callback to not be called, but removing it allows everything to work just fine.

I have attached the exact jquery source I am working with for reference.

Thanks, Vadtec

Attachments (1)
  • jquery-1.3.2.js (122.1 KB) - added by Vadtec August 21, 2009 11:24PM UTC.

    The jQuery 1.3.2 source code I am referencing in my bug report

Change History (3)

Changed January 15, 2010 06:26PM UTC by HexKrak comment:1

We just started testing our application in 1.4 and discovered the same issue when passing 'json' as the "type" parameter.

Changed October 19, 2010 11:25PM UTC by addyosmani comment:2

resolution: → duplicate
status: newclosed

This bug is a duplicate of #5826 which submitted the bug for 1.4.x. As it is newer I'm going to close that one and refer to this if further information is needed.

Changed October 19, 2010 11:25PM UTC by addyosmani comment:3

Duplicate of #5826.