View Single Post
  #6 (permalink)  
Old Nov 29th, 2007, 05:39
c010depunkk's Avatar
c010depunkk c010depunkk is offline
SuperMember

SuperMember
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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....
Reply With Quote