Bug Tracker

Modify

Ticket #7204 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

$('#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

comment:1 Changed 4 years ago by snover

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.