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
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
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 /
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
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