Skip to content
Permalink
Browse files

fix for $.fn.serialize bug (see mailinglist)

  • Loading branch information
Gilles van den Hoven
Gilles van den Hoven committed Jun 27, 2006
1 parent d25d393 commit 55f08065a9a2758134bc2dee6b338b888d073967
Showing with 1 addition and 1 deletion.
  1. +1 −1 form/form.js
@@ -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;

0 comments on commit 55f0806

Please sign in to comment.
You can’t perform that action at this time.