<input type="checkbox" id="mybox">
> ~~~javascript
> <script>
> myBox = document.getElementById("mybox");
> myBox.onclick = function() {
> alert("Checkboxstatus: " + myBox.checked);
> }
> </script>
>
Besser:
myBox.onclick = function() {
alert("Checkboxstatus: " + this.checked);
}
Struppi.