[jQuery] Bug with JQuery is?

2008-10-02 Thread ProggerPete
If it's not a bug it is at least violates the principle of least surprise. The .is function returns true for things I don't think it should. See the example below. bug? http://ajax.googleapis.com/ajax/ libs/jquery/1.2.6/jquery.js">

[jQuery] Re: My first jQuery plugin

2008-07-18 Thread ProggerPete
table:eq(0)") > > Does that do what you want? > > Example:http://demos.texotela.co.uk/parents.html > > --Sam > > On Jul 17, 7:51 am, ProggerPete <[EMAIL PROTECTED]> wrote: > > > Hi Andy, > > parents doesn't do quite what I want. I want a method I

[jQuery] Re: My first jQuery plugin

2008-07-17 Thread ProggerPete
l Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of ProggerPete > Sent: Tuesday, July 15, 2008 10:41 AM > To: jQuery (English) > Subject: [jQuery] My first jQuery plugin > > Hi folks, > I'm very new to jQuery and am playing aroun

[jQuery] My first jQuery plugin

2008-07-15 Thread ProggerPete
Hi folks, I'm very new to jQuery and am playing around with what is possible. I found myself wanting a findParent function and couldn't spot one ready made. I'd love it if people could give me feedback on my implementation. I'm sure there's plenty I could do better. If this function also e