Hi sir,

I want to move listbox selected item to another listbox with its associated optgroup.

eg:
Category1
cat1
cat2
cat3
Category2
ct1
ct2

suppose i select cat1 of Category1, so cat1 is moved into another listbox with optgroup Category1, after i am select cat2 so it will append after cat1 of Category1, like this all..

Thank You..


I am using this code,,it is running good,but selected item of listbox is moved with its optgroup each time when i m moving item of listbox1..


code:

List Task
name="combo_box">
border="1">
label='DML'>InsertDeleteEditSelectlabel='Server Side'>ASP.NETPHPlabel='Web'>
align="center" valign="middle">type="button" name="button" onClick="selectItems('lstboxItems','lstboxSelectedItems',this.value,this.selectedIndex);" value="Go"/>