A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
What is the listIndex?
Joined: Nov 16, 2004
Sep 27, 2007 16:35:00
If I have a particular
that I know is one of the values of a select list how can I use this string to find the list item index so I can use it in a remove command?
Joined: Nov 08, 2001
Sep 27, 2007 20:24:00
You can try this:
var sel = document.formName.selectName; sel.value = "foo"; sel.options[theSel.selectedIndex] = null;
or loop through the options, look at the text or value and get the index that way.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: What is the listIndex?
maxlength for customer id column
String Array without knowing dimensions
difference between Java, VisualBasic & C
amount currency datatype
Generic List array
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015