Select item assignment


#1

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


#2

jQuery Mobile or Bootstrap?

George Henne
NS BASIC Corporation
http://www.nsbasic.com


#3

JQuery Mobile …

Robb


#4

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


#5

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.