In my asp.net website; i have REPEATER control having child control checklistbox , dynamically generates in code behind.
I would like to know how can i write javascript function where i have to check at least one checkbox should be checked.
Ho can i acheive? Please Help?
You could wrap the list of checkboxes in a container (e.g. a
<div>) with a known ID:And then in JavaScript do:
and call it as: