diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-05-07 11:48:42 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-05-07 11:48:42 -0400 |
commit | 09c0cf995b84e0cff6d86c9f63bdad2b0440466a (patch) | |
tree | bdb6451667ba68f4b42fd5abf2333ae665980c94 /src | |
parent | c864455ccfad13895d2af6ba287f265ee64bd348 (diff) | |
download | jquery-09c0cf995b84e0cff6d86c9f63bdad2b0440466a.tar.gz jquery-09c0cf995b84e0cff6d86c9f63bdad2b0440466a.zip |
Global found in valHook for select(get)
Diffstat (limited to 'src')
-rw-r--r-- | src/attributes.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/attributes.js b/src/attributes.js index 86f2d74a7..9326f69db 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -219,7 +219,8 @@ jQuery.extend({ }, select: { get: function( elem ) { - var index = elem.selectedIndex, + var value, + index = elem.selectedIndex, values = [], options = elem.options, one = elem.type === "select-one"; |