Ticket #7204 (closed bug: invalid)
$('#divid').serialize() doesn't seem to work when updating 1.3.2 to 1.4.2
| Reported by: | yohannkelkel@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.4.4 |
| Component: | unfiled | Version: | 1.4.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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