Click here to Skip to main content
15,880,503 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a checkboxlist. I have to bind it using jquery (not to check and uncheck).
How can i do this.
Posted
Updated 28-Jul-13 21:09pm
v3

There are many similar threads available if you search.
Try this[^]
 
Share this answer
 
Comments
Aswathi Narayan 29-Jul-13 3:02am    
i need to bind checkbox.. not to check and uncheck.. i need to add items in checkbox from database using jquery
Brij 29-Jul-13 3:12am    
So you want to create checkboxlist based on data on the fly. There could be many way. A standard one, connect to server via jquery ajax and get the data in json format. Now iterate the data at Client side and create the checkbox list. A clue how to create the dom elements on the fly http://techbrij.com/add-dynamic-form-elements-textbox-button-radio-checkbox

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