How can I set the value of my select component by the value rather than knowing the selectedIndex?
I want to assign the Select1 to the value of DOG since I don’t know what selectedIndex that item is in the list.
Robb
How can I set the value of my select component by the value rather than knowing the selectedIndex?
I want to assign the Select1 to the value of DOG since I don’t know what selectedIndex that item is in the list.
Robb
jQuery Mobile or Bootstrap?
George Henne
NS BASIC Corporation
http://www.nsbasic.com
JQuery Mobile …
Robb
You have to loop through the values, find the item, then use setIndex.
Use the .getItemCount and .List functions.
http://wiki.nsbasic.com/Select
George Henne
NS BASIC Corporation
http://www.nsbasic.com
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.