Htmlinput - Checkboxhttp://forums.asp.net/t/319338.aspx/1?Htmlinput+CheckboxMon, 25 Aug 2003 22:28:16 -0400319338319338http://forums.asp.net/p/319338/319338.aspx/1?Htmlinput+CheckboxHtmlinput - Checkbox Hi, I have a htmlinput - checkbox on a webform, i want to use javascript to check if the checkbox is checked or not and depending on the checked value pop up specific alerts. What javascript code should I use to achieve the above and also which event of the htmlinput checkbox should I associate the javascript function sdescribed above. Thanks a lot 2003-08-25T21:12:47-04:00319398http://forums.asp.net/p/319338/319398.aspx/1?Re+Htmlinput+CheckboxRe: Htmlinput - Checkbox The related property for checkbox is "checked": For example: if (true==checkbox1.checked){ ... } If you like to hook up related event, you can try "onclick" Hope this helps Yugang 2003-08-25T22:28:16-04:00