This is a migrated thread and some comments may be shown as answers.

Asp:checkbox find control in javascript

1 Answer 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
New
Top achievements
Rank 1
New asked on 27 Jun 2012, 06:01 AM

asp:checkbox are find control in javascript ,
how i achieve this

Thanks Advance,
New Gene.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 27 Jun 2012, 06:38 AM
Hi,

Try the following Js to find control of a asp:checkbox
JS:
<script type="text/javascript">
function pageLoad()
{
 var chk = document.getElementById('<%=CheckBox1.ClientID%>');
}
</script>

Thanks,
Princy
Tags
General Discussions
Asked by
New
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or