Skip to main content

Bug Tracker

Side navigation

#7204 closed bug (invalid)

Opened October 15, 2010 08:14PM UTC

Closed October 15, 2010 08:56PM UTC

$('#divid').serialize() doesn't seem to work when updating 1.3.2 to 1.4.2

Reported by: yohannkelkel@gmail.com Owned by:
Priority: undecided Milestone: 1.4.4
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:
Description

I updated jquery to 1.4.2 from 1.3.2 and now he following script doesn't run anymore :

<code>

function login()

{

visibility('log_loading',1);

logerror(0);

highlight('logpass',0);;

$.ajax({

type: "POST",

url: "login.php",

data: $('#loginForm').serialize(),

dataType: "json",

success: function(msg){

if(parseInt(msg.status)==1)

{

visibility('log_loading',0);

window.location=msg.txt;

}

else if(parseInt(msg.status)==0)

{

visibility('log_loading',0);

logerror(1,msg.txt);

}

else if(parseInt(msg.status)==2)

{

visibility('log_loading',0);

highlight('logpass',1);

logerror(1,msg.txt);

}

visibility('log_loading',0);

}

});

}

</code>

I'm guessing it comes from the serialize function ... any ideas why in 1.3.2 it's working and not in 1.4.2 ?

Thank you

Attachments (0)
Change History (1)

Changed October 15, 2010 08:56PM UTC by snover comment:1

resolution: → invalid
status: newclosed

The bug tracker is for bug reports only. Please use the jQuery Forum for support requests.