Javascript ??
Javascript ??
Out of context: Reply #2
- Started
- Last post
- 8 Responses
- mike0
how do you mean grayed out?
I think mitsu's code is going to leave you more frustrated than enlightened... he isn't checking the value of the checkbox he is reassigning it... the checked property returns true or false, it can also be assigned however. also the onchange event handler should not be used for a checkbox, you should use onclick.
I've put a sample of this up so you can grab that if you like. the script will alert the state of the checkbox when it is clicked.
hope this helps...