就这么段代码,怎么才能获得"want to select"这段文字呢?
[code="java"]$("#my_div")[0].lastChild.nodeValue[/code]hehe.用DOM的.
alert($("#my_div").clone().children().remove().end().text());