This topic created in 4128 days ago, the information mentioned may be changed or developed.
3 replies • 2015-08-04 19:59:01 +08:00
 |
|
不知道你需要的是不是这个 jQuery.Html()
|
 |
|
用jquery: var target = $("div:contains('content')").eq(0); target.html('new content');
|
 |
|
可以,dom/xpath都行 ccs2也可以,但css3就困难了,因为css3取消了内容的contain()
|