yes it is

2008/11/26 Liam Potter <[EMAIL PROTECTED]>

>
> almost
>
> $('.link').click(function () {
>        $(this).parent().BLAHBLAHBLAH();
> });
>
>
>
> Jason wrote:
>
>> Code:
>>
>> <fieldset>
>> <a href="" class="link"></a>
>> </fieldset>
>>
>> <fieldset>
>> <a href="" class="link"></a>
>> </fieldset>
>>
>> <fieldset>
>> <a href="" class="link"></a>
>> </fieldset>
>>
>> When a link is clicked, I would like to be able to reference the
>> particular parent fieldset element, and not all of them.
>>
>> Something like this doesn't work:
>>
>> $('.link').click(function () {
>>        $(this+':parent').BLAHBLAHBLAH();
>> });
>>
>> Thanks in advance, the help here is top notch!
>>
>>
>
>

Reply via email to