Hey all
I have a checkbox that is placed inside a form. Is there a way for this checkbox to know which form it is in. A fictitious piece of code to just illustrate my example would be something like:
I have a checkbox that is placed inside a form. Is there a way for this checkbox to know which form it is in. A fictitious piece of code to just illustrate my example would be something like:
Code:
<input type="checkbox" name="all" id="all" value="all" onClick="toggleAll(document.getElementById('[b]this.form[/b]'),'roleCheck', this)" />