How to set CheckedListBox's Selected Index through javascript

Dec 15, 2008 at 11:15 AM
I am trying to use the MetaBuilders.WebControls’s CheckedListBox Control. I bind this control with following data

Id Name
1 Toyota
2 Ford
3 GM
4 Lexus

For Text field I have use Name & Value field I have use Id.
I want to add 5th Item through Javascript to this control as

5 Honda

I am facing two problem to do so

1. Through Javascript I get only Checkbox & Label. I did not get Value
2. Not able to add new item in the CheckListBox through Javascript.
3. Set selected index through javascript.