yea, it works! thx a lot :-) Daniel
2009/7/24 Kartik Sehgal <[email protected]> > @ definitely needs to go but, if I use <<<ABC>>> > > and run the following filter: $("div:[title=<<<ABC>>>]").html() > > "this.0.innerHTML" is null or not an object error comes > > However,if I were to do the following: > > $("div").filter("[title=<<<ABC>>>]").html() > > It works. > > Am I missing something? > > Thanks, > > Kartik > > 2009/7/24 Scott González <[email protected]> > >> >> Just drop the @ in your selector and it should work. >> >> On Jul 23, 10:36 pm, Daniel Huang <[email protected]> wrote: >> > Hi, >> > I just come up against a problem for jQuery selector, nd the details >> > is under below: >> > >> > <script> >> > $('d...@title=' + $(this).text() + ']'); // i cannot get the >> > jQuery object >> > </script> >> > <div title="<<<ABC>>>"> >> > ... >> > </div> >> > >> > So, it seems that the selector could not get dom elements by xpath in >> > case of some special charactors? I wander how can i get it in this >> > case, is there someone could help me? >> > >> > thx >> > Daniel >> >> > > > -- > URL: http://sites.google.com/site/spyderhoodcommunity > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" 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-ui?hl=en -~----------~----~----~----~------~----~------~--~---
