Shouldn't this work? The alert should fire when a box is clicked but it doesn't
Code:
<script>
function go(){
foo=getElementsByTagName('input')
alert('the function worked')
}
</script>
<!---HTML--->
check this-> <input type='checkbox' onchange="go()">
or this-> <input type='checkbox' onchange="go()">