posted 15 years ago
Hello Mohammed,
I don't think there's anything wrong with the script. Firebug doesn't throw any errors either. As for the code, I think you can try it locally by just creating an HTML document and pasting the code below. At present, I'm taking the style.display approach. In IE it'll work fine, but in FF if you deselect a couple of checkboxes and then reselect them then you'll see what I mean.
After that, just uncomment the the commented script and comment out the style.display part of the script. You'll see that it works fine in FF too now. Let me know if you need something else to see what I mean.
Hopefully someone out there can tell me what causes these aberrant behaviour.
NOTE: You'll need to replace all occurrences of "onclic" with "onclick" to make this code work. The ranch doesn't allow posting of code containing certain script keywords :-/
[ April 01, 2008: Message edited by: Anirvan Majumdar ]