Fixed #1074 where .html() was incorrectly changing the selected value of an option.
This commit is contained in:
parent
32b3ac4f06
commit
264ffbc73b
2 changed files with 7 additions and 3 deletions
|
@ -932,7 +932,7 @@ jQuery.extend({
|
|||
var wrap =
|
||||
// option or optgroup
|
||||
!tags.indexOf("<opt") &&
|
||||
[ 1, "<select>", "</select>" ] ||
|
||||
[ 1, "<select multiple='multiple'>", "</select>" ] ||
|
||||
|
||||
!tags.indexOf("<leg") &&
|
||||
[ 1, "<fieldset>", "</fieldset>" ] ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue