[jQuery] Re: Simple selector problem

2009-07-13 Thread Chris
That was it. When I turn Firebug off, it returns 3. Thanks. On Jul 10, 2:50 pm, Brett Ritter wrote: > On Fri, Jul 10, 2009 at 11:34 AM, Chris wrote: > > I'm using jQuery 1.3.2.  In IE, this returns 3.  In Firefox, it > > returns 4. > > Are you running Firebug or any add-on that modifies the D

[jQuery] Re: Simple selector problem

2009-07-10 Thread Brett Ritter
On Fri, Jul 10, 2009 at 11:34 AM, Chris wrote: > I'm using jQuery 1.3.2.  In IE, this returns 3.  In Firefox, it > returns 4. Are you running Firebug or any add-on that modifies the DOM in Firefox? -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Simple selector problem

2009-07-10 Thread Mauricio (Maujor) Samy Silva
Here it is returning 3 in IE and FireFox as expected. Maurício -Mensagem Original- De: Chris Para: jQuery (English) Enviada em: sexta-feira, 10 de julho de 2009 12:34 Assunto: [jQuery] Simple selector problem $(document).ready(function { alert($("div").length); }

[jQuery] Re: simple selector problem :beginner();

2008-12-08 Thread Klaus Hartl
> $("span", $(this)) There is really no need to wrap this in a jQuery object: $('span', this) --Klaus

[jQuery] Re: simple selector problem :beginner();

2008-12-04 Thread MorningZ
The second parameter is the "context" to search So $(this "span") would be $("span", $(this)) or $(this).find("span") On Dec 4, 9:56 am, tlob <[EMAIL PROTECTED]> wrote: > I like to select every span, thats in "this" > $(this "span") > > sorry, simple and stupid... > > full function: > f