Hi guys n girls
I have a site that i am building at the moment which i have stumbled across a problem which i have never needed to do before.
Basically i have 2 or 3 seperate groups of checkboxes for example
[QUOTE]
<input type=”checkbox” name=”premium” value=”1″ />
<input type=”checkbox” name=”premium” value=”2″ />
<input type=”checkbox” name=”premium” value=”3″ />
<input type=”checkbox” name=”non” value=”1″ />
<input type=”checkbox” name=”non” value=”2″ />
<input type=”checkbox” name=”non” value=”3″ />
What i need is another checkbox beneath each of these saying “tick all”
So if you press the checkbox for tick all underneath premium then it will tick all the boxes with the name premium.
I am able to do this with javascript using a button but i would rather use another checkbox which ticks them all.
Please help
thanks in advance.
TAV3RN