Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Handle selects

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How can I do to handle selects , add new items and remove selected options

Thank you
 
Where I is a select object from form

for (var i=I.selectedIndex;i<I.length-1;i++)
{
I.options[selectedIndex] =I.options selectedIndex+1];
}

I.options[I.length-1]=null
I.length--;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top