|
Re: Help with must select at least one checkbox javascript function.
That's true, that was a logic error on my part....
I think a feasible solution would be to declare a global variable 'last_checked' and every time a check box is checked (in the onclick eventf), set this global variable to the value of that box. Then when the last one is unchecked, you could re-check the box who's value is stored in the global variable....
|