checkbox checked or not
Try to pass this in your inline handler, . And use this. checked to find out whether it is checked or not, Function testfn(elem) alert(elem. checked) .