我有这样的代码
<a href="#" title="some title">
<span>Do not change color of this text</span>
Want to only change this text color
</a>
Run Code Online (Sandbox Code Playgroud)
我想只改变锚标签文本的颜色,而不是改变文本的颜色span.使用CSS而不是jQuery.
我有这样的字符串
This is ~test content ~ok ~fine.
我希望得到"fine"特殊字符~后面的字符串和使用jQuery的字符串中的最后一个位置.
我想删除基于两列的重复行,但需要保留所有行的1行.
重复行可以超过两行,如,
ID NAME PHONE
-- ---- ----
1 NIL 1234
2 NIL 1234
3 NIL 1234
4 MES 5989
Run Code Online (Sandbox Code Playgroud)
我想从3以上删除2行中的任意一行并保留1行.