Mohsen Saboorian schreef:
> David,
> Naturally it doesn't work :)
>
> if($(this).is("span.a")) would never be true, since "this" is refering
> to the parent node of "span.a".
>
>   
It was too easy to be true :) I thought because it was in an each loop 
this referred to the elements caught by the parent function because it's 
possible to get the text out the different tags and put it into the 
innerhtml. 

-- 
David Duymelinck
________________
[EMAIL PROTECTED]


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to