Ticket #2652: val[5790].diff
| File val[5790].diff, 0.8 kB (added by flesler, 6 months ago) |
|---|
-
jquery/src/core.js
362 362 if ( this.length ) { 363 363 var elem = this[0]; 364 364 365 if( jQuery.nodeName( elem, 'option' ) ) 366 return jQuery.browser.msie && !elem.attributes.value.specified ? elem.text : elem.value; 367 365 368 // We need to handle select boxes special 366 369 if ( jQuery.nodeName( elem, "select" ) ) { 367 370 var index = elem.selectedIndex, … … 379 382 380 383 if ( option.selected ) { 381 384 // Get the specifc value for the option 382 value = jQuery .browser.msie && !option.attributes.value.specified ? option.text : option.value;385 value = jQuery(option).val(); 383 386 384 387 // We don't need an array for one selects 385 388 if ( one )
