I just noticed that you are forgetting the closing ) on your query: a:not([href^="#"][href^="javascript"])
Hope this helps. --John On Thu, Jun 18, 2009 at 10:20 AM, pbcomm<pbc...@gmail.com> wrote: > > John, > I have tried both with the same result. > Test page: http://www.pibik.com/clients/jquery/livenot.html > > On Jun 18, 8:23 am, John Resig <jere...@gmail.com> wrote: >> What happens if you try: >> jQuery('a:not([href*="#"][href*="javascript"]') >> >> also - do you have a sample demo page that we can look at? Thanks! >> >> --John >> >> >> >> On Thu, Jun 18, 2009 at 7:55 AM, pbcomm<pbc...@gmail.com> wrote: >> >> > James, >> > I'm looking for the links that do NOT start with '#' or 'javascript', >> > and it works on page load. >> >> > On Jun 18, 4:51 am, James Padolsey <jamespadol...@googlemail.com> >> > wrote: >> >> I'm pretty sure this has nothing to do with the live() event. It's >> >> probably the selector itself that is killing the browser. Are you >> >> looking for HREFs that start with #javascript? ... If so, why not just >> >> use [href^="#javascript"] ... >> >> >> On Jun 18, 6:18 am, pbcomm <pbc...@gmail.com> wrote: >> >> >> > Trying to add live click event to links that have :not in the selector >> >> > in FF3 produces unresponsive script at line 1441, kills IE7. >> >> >> > jQuery('a:not([href^="#"][href^="javascript"]').live('click', function >> >> > () {}); > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---