mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Made it so that search input elements are now serialized. Fixes bug #4107.
This commit is contained in:
@@ -71,7 +71,7 @@ jQuery.fn.extend({
|
||||
.filter(function(){
|
||||
return this.name && !this.disabled &&
|
||||
(this.checked || /select|textarea/i.test(this.nodeName) ||
|
||||
/text|hidden|password/i.test(this.type));
|
||||
/text|hidden|password|search/i.test(this.type));
|
||||
})
|
||||
.map(function(i, elem){
|
||||
var val = jQuery(this).val();
|
||||
|
||||
Reference in New Issue
Block a user