add/remove with javascript for listboxes

G

Guest

hi ,
i have 2 listbox and 2 buttons like add and remove, both listbox have
multiple selection true so that i can either add or remove multiple selected
items. the first listbox is populated with sql server table during page load
time and the second one is empty, now i want if a user select item/s in first
listbox then it should add in another listbox after clicking add withour
postback using javascript and the item's text which is displayed in another
listbox after clicking add botton should send there values(not text) to
database table so that they also add in database. abd also if user select
item/s in second listbox then it should be removed after clikcing remove
button and the values also should hget removed from databass table also..
plz help i need that no postback should happen and javascript should be used
here... thanks in advance ..............................................
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top