But it lead to another issue
What happens is as the listbox 1 get populated, in my application, i have a button which refreshes the page thereby populating listbox2, with reference to the items selected in listbox1
So what is happening is,
- the user selects checkall-- all items get selected
- the user hits the refresh button -- all the items deselected and also checkbox is marked unchecked
Hope you can understand my issue
Please help me to fix this dilemma
There must be some kind of processing going on at the server side with the items selected. It very much depends on the server side language you are using. Maybe asking in the appropriate language would be better option.