diff options
author | Scott González <scott.gonzalez@gmail.com> | 2014-11-04 08:36:33 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2014-11-04 08:37:07 -0500 |
commit | 809cc0f8d0c07c2be44942b3010bba1f9ce91be8 (patch) | |
tree | 9b6c447346801102c8cdb19eff99f259edafbaef /ui | |
parent | f656aebe3f99356b7eb91ffdafe6689ecc8fb4ae (diff) | |
download | jquery-ui-809cc0f8d0c07c2be44942b3010bba1f9ce91be8.tar.gz jquery-ui-809cc0f8d0c07c2be44942b3010bba1f9ce91be8.zip |
Selectmenu: Properly parse value from options
Fixes #10684
Diffstat (limited to 'ui')
-rw-r--r-- | ui/selectmenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/selectmenu.js b/ui/selectmenu.js index 6a9607b61..a2409bde2 100644 --- a/ui/selectmenu.js +++ b/ui/selectmenu.js @@ -618,7 +618,7 @@ return $.widget( "ui.selectmenu", { return { element: option, index: index, - value: option.attr( "value" ), + value: option.val(), label: option.text(), optgroup: optgroup.attr( "label" ) || "", disabled: optgroup.prop( "disabled" ) || option.prop( "disabled" ) |