SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Combobox force position
-
Sep 1, 2009, 01:15 #1
- Join Date
- Jul 2004
- Location
- France
- Posts
- 94
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Combobox force position
Hi there,
here's my problem :
i have a combobox in wich i can change the value with selectedIndex attribute, but how can i change the label or the selected position, because the value changes but the position don't ?
Thanx in advance
-
Sep 1, 2009, 05:13 #2
- Join Date
- Jul 2004
- Location
- France
- Posts
- 94
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I've found the true mistake but i still don't understand why it doesn't work :
Code:cb.selectedIndex = value;
And when i "trace" cb.selectedIndex, the result is "undefined" !
And i'm sure of the path to reach the combobox.
Help please :'(
Bookmarks