[jQuery] Re: Selecting children of "this" ?

2009-06-24 Thread Ricardo
The $ aliasing should probably be included in the "How jQuery works" at the site, I see how you missed that. $('li', this) is translated to $(this).find('li') internally: // core.js line 69 // HANDLE: $(expr, $(...)) return (context || rootjQuery).find( selector ); So you're just wasting on

[jQuery] Re: Selecting children of "this" ?

2009-06-24 Thread september
Thanks Charlie, I'm a little embarassed that I wasn't able to figure this out on my own but understand much better now. I was beginning to get the feeling that $ = jQuery last night after watching some tutorial screencasts and reading some articles, but for some reason none of the resources I cam

[jQuery] Re: Selecting children of "this" ?

2009-06-24 Thread Charlie
When using jQuery.js "$" is shorthand for "jQuery". It can also be used as shorthand in other script libraries so you will find examples using the longhand. For simplicity assume you are only using jquery and jquery plugins The following are the same: jQuery("div").hide(); $("div").hide();

[jQuery] Re: Selecting Children Of $(this)

2008-03-28 Thread studiobl
Sam, thank you. If my head was going to hurt today like it did yesterday, it was not going to be pleasant. Thanks again! On Mar 28, 5:59 am, Sam Collett <[EMAIL PROTECTED]> wrote: > studiobl wrote: > > I'm working on a wireframe for an ecommerce site. I need to simulate > > some shopping cart f

[jQuery] Re: Selecting Children Of $(this)

2008-03-28 Thread Sam Collett
studiobl wrote: > I'm working on a wireframe for an ecommerce site. I need to simulate > some shopping cart functionality, like updating total counts and > dollar amounts on change(). I've already done this with a page that > contains one table. This page contains multiple tables, so I need to > a