[jQuery] Re: [Resolved] Re: How optimize $(this).children("span").children("a").html("it works");

2007-08-28 Thread Erik Beeson
>> Wonderfull! :-) It works with this one: >> $(this).find('/span/a').html('it works'); > Also, remember that beginning with version 1.2, these XPath selectors will > be available only with a plugin. :( Oh yeah, in light of that, the recommended way is ">span>a" instead of "/span/a". It irritat

[jQuery] Re: [Resolved] Re: How optimize $(this).children("span").children("a").html("it works");

2007-08-28 Thread Karl Swedberg
On Aug 28, 2007, at 11:07 AM, Klaus Hartl wrote: Nico wrote: Wonderfull! :-) It works with this one: $(this).find('/span/a').html('it works'); Thanks a lot for your help You could write that even shorter: $('/span/a', this).html('it works'); --Klaus Also, remember that beginning wi

[jQuery] Re: [Resolved] Re: How optimize $(this).children("span").children("a").html("it works");

2007-08-28 Thread Klaus Hartl
Nico wrote: Wonderfull! :-) It works with this one: $(this).find('/span/a').html('it works'); Thanks a lot for your help You could write that even shorter: $('/span/a', this).html('it works'); --Klaus