aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-02-18 19:43:14 +0000
committerJohn Resig <jeresig@gmail.com>2009-02-18 19:43:14 +0000
commitca79d866fe07302f03df2b3db09c886c6abef9ff (patch)
tree864d02768e01dfae54ea089db33485afca3f4a6a /src/ajax.js
parent75a973da35d4ad6583ebef8c389cebbef61bc5b4 (diff)
downloadjquery-ca79d866fe07302f03df2b3db09c886c6abef9ff.tar.gz
jquery-ca79d866fe07302f03df2b3db09c886c6abef9ff.zip
Made it so that search input elements are now serialized. Fixes bug #4107.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 91043dedd..0f5f80529 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -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();