diff options
Diffstat (limited to 'src/attributes')
-rw-r--r-- | src/attributes/val.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes/val.js b/src/attributes/val.js index ca5fa0838..6d6b8ea7c 100644 --- a/src/attributes/val.js +++ b/src/attributes/val.js @@ -117,7 +117,7 @@ jQuery.extend({ while ( i-- ) { option = options[ i ]; - if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) { + if ( (option.selected = jQuery.inArray( option.value, values ) >= 0) ) { optionSet = true; } } |