1
0
mirror of synced 2024-11-22 13:06:08 +03:00
select2/dist
Kevin Brown 0bc73941fe Support duplicate options
Now that the data objects have the `element` property, we can test
to make sure it's a DOM element and then use it for selecting the
option. This allows us to select multiple options with the same id,
as well as handle cases where that is already happening.

You cannot use `$e.val()` to select two options with the same id,
as jQuery will reject it, but you can set the second option to
`.selected = true`, which is supported.
2014-12-17 20:36:06 -05:00
..
css IE fixes and alt-arrow support 2014-12-17 19:06:13 -05:00
js Support duplicate options 2014-12-17 20:36:06 -05:00