Consider the following scenario.
-
Load http://gregfranko.com/jquery.selectBoxIt.js/ using Firefox with Firebug installed
-
Open the Firebug console
-
Run the following JavaScript snippet in the console
$('select').first().val('a Stateful UI Widget').change()
-
The selected value of the first native select element on the page will change. Now let's try the same for the corresponding selectBoxItfied select:
$(":selectBox-selectBoxIt").first().val('a Stateful UI Widget').change()
-
The result is that the selection is not reflected in the selectBoxIt element. It should behave like the native select element and change to the new value.
Consider the following scenario.
Load http://gregfranko.com/jquery.selectBoxIt.js/ using Firefox with Firebug installed
Open the Firebug console
Run the following JavaScript snippet in the console
$('select').first().val('a Stateful UI Widget').change()
The selected value of the first native select element on the page will change. Now let's try the same for the corresponding selectBoxItfied select:
$(":selectBox-selectBoxIt").first().val('a Stateful UI Widget').change()
The result is that the selection is not reflected in the selectBoxIt element. It should behave like the native select element and change to the new value.