Works great. Thanks for the help.
On Dec 9, 10:22 pm, "John Resig" <[EMAIL PROTECTED]> wrote:
> Try this, instead:
>
> $(".trigger").click(function () {
> $(this).parents(".container").hide("slow");
>
> });
>
> That should get you what you're looking for.
>
> --John
>
> On Dec 9, 2007 7:53 PM
Try this, instead:
$(".trigger").click(function () {
$(this).parents(".container").hide("slow");
});
That should get you what you're looking for.
--John
On Dec 9, 2007 7:53 PM, ebakunin <[EMAIL PROTECTED]> wrote:
>
> I am having trouble understanding how to use $(this) in a function. I
> w
2 matches
Mail list logo