The message is wrong, but the test was right:
$('div:has("p+p")')

Has the bug already been filed then?
Is it a bug with jQuery or Sizzle?

Thanks,
Dave


On Jan 15, 1:28 pm, "Diogo Baeder" <[email protected]> wrote:
> Hmmm... the code is exactly as written in the test? Because
> $('div:has("p+p')')
> has a single-quote error (should be double-quoted) after the second 'p'.
>
> Diogo
>
>
>
> On Thu, Jan 15, 2009 at 11:23 AM, John Resig <[email protected]> wrote:
>
> > As I mentioned in another thread, this looks like a bug and should
> > probably be filed. Thanks!
>
> > --John
>
> > On Thu, Jan 15, 2009 at 6:43 AM, David Hulbert <[email protected]> wrote:
>
> > > I get:
>
> > > "A script on this page may be busy, or it may have stopped responding.
> > > You can stop the script now, open the script in the debugger, or let
> > > the script continue."
>
> > > With the code:
> > > $('div:has("p+p')')
>
> > > And the HTML:
> > > <div><p>1</p></div>
>
> > > This worked fine with jQuery 1.2.6.
>
> > > Test case:http://jsbin.com/atiha/edit
>
> > > Tested in FF3, IE7 and Chrome.
>
> > > Is this a bug with jQuery 1.3 or is the syntax wrong?
>
> --
> Diogo Baederhttp://www.diogobaeder.com.br
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to