Re: [jQuery] Checkbox: Selecting all Previous

2006-11-29 Thread Glen Lipka
I changed some of it and stopped using the checkboxes, but this would work with the checks too. I need the ID attribute for something else, soI used the REL attribute as proscribed. $(.checkbox).click( function() { currentOption = parseInt($(this).attr(rel)) + 1; $(#options

Re: [jQuery] Checkbox: Selecting all Previous

2006-11-29 Thread Alex Cook
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Wednesday, November 29, 2006 9:52 AM To: jQuery Discussion. Subject: Re: [jQuery] Checkbox: Selecting all Previous QUESTION OR FEATURE SUGGESTION arrayPos() would return the index of the array.   So if I had 4 links

[jQuery] Checkbox: Selecting all Previous

2006-11-27 Thread Glen Lipka
This might be a newbie question, but I am having trouble with it. I have 4 checkboxes vertical input type=checkboxlabelbox 1/labelbr / input type=checkboxlabelbox 1 and 2/labelbr / input type=checkboxlabelbox 1 and 2 and 3/labelbr / input type=checkboxlabelbox 1 and 2 and 3 and 4/labelbr /

Re: [jQuery] Checkbox: Selecting all Previous

2006-11-27 Thread Alex Cook
I'd love to hear it. -ALEX From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Monday, November 27, 2006 4:27 PM To: jQuery Discussion. Subject: [jQuery] Checkbox: Selecting all Previous This might be a newbie question, but I

Re: [jQuery] Checkbox: Selecting all Previous

2006-11-27 Thread dave.methvin
Glen Lipka wrote: I have 4 checkboxes vertical input type=checkboxlabelbox 1/labelbr / input type=checkboxlabelbox 1 and 2/labelbr / input type=checkboxlabelbox 1 and 2 and 3/labelbr / input type=checkboxlabelbox 1 and 2 and 3 and 4/labelbr / When I click one, I want to check the