Next time I register on a Group I'm going to append Girl to my pseudo
as well.
Look, two detailed answers for one off topic question :D

On Aug 27, 1:49 am, Karl Swedberg <k...@englishrules.com> wrote:
> Hi,
>
> if you can use jq('a...@id="myLink"]') then certainly you can use
> jq('a#myLink')
>
> But to answer your question about the syntax error, it's because the  
> XPath syntax you're using for the attribute selector was deprecated a  
> long time ago and finally removed from jQuery in version 1.3. Use the  
> CSS syntax instead:
> jq('a[id=myLink]')
>
> In other words, remove the "@". Also, the quotes around myLink are  
> optional, so I removed them.
> Again, though, you'll be in better shape if you use jq('a#myLink'), or  
> better yet, jq('#myLink')
>
> --Karl
>
> ____________
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Aug 26, 2009, at 11:23 AM, holicGirl wrote:
>
>
>
> > Hello,
> > I have a basic knowlegde of jQuery and a problem in selecting a link.
> > To be specific I've a problem with the syntax.
>
> > I'm using several libraries so I can't use for example the $
> > ('a#myLink') function but I've to write jq('a...@id="myLink"]').
>
> > The application don't recognize the syntax, it shows this message:
> >         Syntax error, unrecognized expression: [...@id="myLink"]
>
> > Can someone help me?
>
> > Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to