[jQuery] Re: slideup() issue with IE. HELP NEEDED

2008-05-10 Thread Jong
Ahh, thanks for pointing that out :o) On 10 Maj, 15:04, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > On Sat, May 10, 2008 at 8:46 AM, Jong <[EMAIL PROTECTED]> wrote: > > > For some reason, Internet Explorer doesn't seem to like the attr() > > func

[jQuery] Re: slideup() issue with IE. HELP NEEDED

2008-05-10 Thread Jong
For some reason, Internet Explorer doesn't seem to like the attr() function. // switch all tabs with the class 'active' off $(".active").attr({ class: "tab" }); // switch *this* tab to have the 'active' class $(this).attr({class:"tab active"}); Changing it to // switch all tabs with the class

[jQuery] Re: Howto assign $(this) to variable

2008-05-09 Thread Jong
nts that the trace did, you are going to see that one of them > actually gets highlighted in the rendered web page and the other > doesn't, but if you do click on them you are getting for sure the same > result, so you may want to look to another way around the problem you > were tr

[jQuery] Howto assign $(this) to variable

2008-05-08 Thread Jong
Hi, I'm pretty new to jQuery, and I have stumbled across a weird problem. It may just be me fooling around, anyway here goes... var foo = false; $('div span').each(function() { foo = $(this); // debugging in firebug console.log($(this), foo); console.log($(this) == foo); }); You should, at