Merge branch 'bug7123' of http://github.com/csnover/jquery into csnover-bug7123

This commit is contained in:
John Resig 2010-10-09 16:27:59 -04:00
commit 4a0759dc79
2 changed files with 17 additions and 1 deletions

View file

@ -215,6 +215,10 @@ jQuery.fn.extend({
val = "";
} else if ( typeof val === "number" ) {
val += "";
} else if ( jQuery.isArray(val) ) {
val = jQuery.map(val, function (value) {
return value == null ? "" : value + "";
});
}
if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) {