Thank you very much ! Best regards,
Hamazasp Avetisyan On Thu, Mar 26, 2009 at 7:01 PM, John Resig <jere...@gmail.com> wrote: > > A couple ways: > $(this).find("> span") > or $(this).children("span") > or $("> span", this) > > The second one will probably work best. > > --John > > > > On Thu, Mar 26, 2009 at 9:41 AM, hamazasp.avetisyan > <hamazasp.avetis...@gmail.com> wrote: > > > > Hi, > > > > Let's look at this sample > > > > $("div > span").css("border", "3px double red"); > > > > This works ok. > > > > I need to do something like above with 'this'. I can not find a good > > syntax for that. > > > > $(this , "> span").css("border", "3px double red"); not works > > $("this > span").css("border", "3px double red"); not works > > ...... > > > > How can I fix the problem ? > > > > > > Thanks > > Hamazasp Avetisyan > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---