fix for $.fn.serialize bug (see mailinglist)
This commit is contained in:
parent
d25d393a33
commit
55f08065a9
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ $.fn.serialize = function() {
|
|||
var p = par.nodeName.toUpperCase();
|
||||
if ((p == 'SELECT' || p == 'OPTGROUP') && !this.selected) return;
|
||||
|
||||
var n = this.name || par.name;
|
||||
var n = this.name;
|
||||
if (!n && p == 'OPTGROUP' && (par = par.parentNode))
|
||||
n = par.name;
|
||||
|
||||
|
|
Loading…
Reference in a new issue