Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,


I am using a textbox and multiple checkboxes in an asp panel.and javascript is given in content placeholder.but this javscript is not working.


how to solve this prblm???
Posted

If checkbox.Checked==True.......Byvasanth
 
Share this answer
 
try this...
var chk=document.getElementsByTagname('input')
for(i=0;i<chk.length;i++)>
{
if (chk[i].type=='checkbox' )
{
if(chk[i].checked)
{
//do something
}
}
 
Share this answer
 

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