Hi Folks I have:
$(".tr").each(function(i){ $(this).bind("click", function(event){ var tr = $(this).html(); ..... My html is <div class="tr">my text please! <div class="w">I dont want this children</div> </div> I am trying select only "my text please!" without children(). I tried .remove() .not(".w") .not("div.w") and a lot of variations Look I am not working in the "document" I have this in "this" argument. so $(this).html() = my text please! <div class="w">I dont want this children</div> so I want remove <div class="w">I dont want this children</div> Regards Mario macm