Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > add items from one listbox to other listbox from javascript

Thread Tools

add items from one listbox to other listbox from javascript

Posts: n/a
I have 2 listboxes with values. and there are add and remove buttons.
when add button is clicked, the items selected from the first listbox
should be added to the second listbox and that item should be deleted
from the first listbox. same way for removing also. I have set the
value and text properties for the list box items. when the items are
moved both these values (text & value) should move to the other
listbox. Can any of you have examples to do this. by the way, these
pages are aspx (.Net) pages. and all the controls are html controls
with attribute runat="server". any help would be appreciated. thanks.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
copy ListBox items to anoher listbox Tomas ASP .Net 1 08-12-2008 08:22 AM
unable to retrieve listbox items on postback , items moved usingjavascript between 2 list boxes (source and target ) divya ASP .Net 1 05-28-2008 05:27 AM
Listbox move multiple selected items to second listbox K B ASP .Net 2 01-08-2007 11:16 AM
add items to listbox inside a codebehind page returns error - Type 'ListItem' is not defined. Joey ASP .Net 3 08-06-2004 12:45 PM
How do I move all items in a listbox to another listbox kent ASP .Net 1 05-03-2004 12:17 AM