Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Please, does anyone know how to remove items from a checkedlistbox using java script?
Posted
Updated 11-May-11 21:09pm
v2
Comments
ZeeroC00l 12-May-11 2:25am    
Question not clear.
Can you be more specific about the problem.
Dalek Dave 12-May-11 3:09am    
Edited for Grammar.

Tried anything?

Have a look at http://www.plus2net.com/javascript_tutorial/list-remove.php[^] or http://forums.asp.net/t/977820.aspx[^] or try searching yourself.

Ed
 
Share this answer
 
This will remove the items.

function removeItems(clb)
 {
  var i;
   for(i=clb.options.length-1;i>=0;i--)
    {
     clb.remove(i);
    }
 }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900