|
-
Apr 2nd, 2001, 05:12 PM
#1
I want to use a sleect option html box just liek a list box in VB. Is this possible?
What i am trying to accomlish is to have a list of things and to be able to add or delete items depending on button presses.
I dont know how to manipulate the select box this way.
this is my code so far:
<SELECT NAME="items" SIZE=5>
<OPTION>Windows</option>
<OPTION>Macintosh</option>
<OPTION>UNIX</option>
</SELECT>
and i have two buttons, one is an add button which when pressed brings up a prompt and when a user enters infor it should appear in the above select box.
the delete button shoudl casue the selected item in the above box to be elimanted.
If i can't do this in JAvaScript, any suggestons on how to do it? Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|