Made it so that search input elements are now serialized. Fixes bug #4107.
This commit is contained in:
parent
75a973da35
commit
ca79d866fe
4 changed files with 9 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue