add items from one listbox to other listbox from javascript

Discussion in 'Javascript' started by mc, Dec 2, 2003.

  1. mc

    mc Guest

    Hi,
    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.
    mc
     
    mc, Dec 2, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kent
    Replies:
    1
    Views:
    910
    Andrew de la Harpe
    May 3, 2004
  2. Joey
    Replies:
    3
    Views:
    3,120
    =?Utf-8?B?UnlhbiBSaWRkZWxs?=
    Aug 6, 2004
  3. K B
    Replies:
    2
    Views:
    702
  4. divya
    Replies:
    1
    Views:
    1,121
    Munna
    May 28, 2008
  5. Tomas
    Replies:
    1
    Views:
    600
    Munna
    Aug 12, 2008
Loading...

Share This Page