![]() |
ClientIds for individual CheckBoxes in a CheckBoxList
I am generating JavaScript that needs to reference the checkboxes rendered
by a CheckBoxList. How can i get the ClientIds for the checkboxes rendered by a CheckBoxList? Thanks. -- Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/ |
RE: ClientIds for individual CheckBoxes in a CheckBoxList
In your javascript, get the CheckBoxlist id by using
document.getElementById() and then loop inside that control looking for input controls to get the child Checkbox id's Here is a blog post with example code describing how to acheive this: http://ctrlf5.net/?p=33 Hope this helps. -- Thank You, Nanda Lella, http://www.ctrlf5.net This Posting is provided "AS IS" with no warranties, and confers no rights. |
| All times are GMT. The time now is 11:47 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.