I'm trying out your example but I get an error because $('body') is
returning null. Do you have a div with id 'body" or are you trying to
select the body element with your code?

On Apr 3, 12:08 am, Jacob <[email protected]> wrote:
> Hi there, got something strange with element.match()
>
> when I do this
>
> $('body').match($('myDivThatDoesntExist'))
>
> it returns true... in fact, I cant get it to reliably match anything
> other than a selector string.
> The docs say .match() should work on selector strings AND
> elements...Is this a bug?
>
> Thanks
> Jacob

Reply via email to