|
I'm trying to implement a check all button for a message system on my website, but can't seem to get it to work....Currently I have this....
The values of the checkboxes are always different, but their name is the same. But I believe the function to check all just looks for inputs that are checkboxes and enables them....can anyone figure out whats going wrong?
The error I get when I try this out is...gi is not defined
Is this because the code that uses the function is an include to the original html with the include of the js file?
UPDATE: nvm....the gi wasn't in there js file...it works now.
Last edited by kbfirebreather : 04-10-2008 at 12:17 PM.
Reason: I fixed it
|