[Javascript] How can I add an element to a select box

Omar Saleh osaleh at sapient.com
Wed Aug 8 18:05:13 CDT 2001


How can I add or delete an element from a Select Box using JavaScript ? i
basically have two Select boxes (set to multiple), when I double click on
select box 1, i need to add the element I double clicked on to box 2. If i
double click on an element in box 2, then I need that element to be deleted.
Here is the page that I have now that does not work.

 <<Sample.txt>> 

Thx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010808/ce843f02/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Sample.txt
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010808/ce843f02/attachment.txt>


More information about the Javascript mailing list