Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用图像替换锚文本,我试过:
$('a.next').text('<img src="images/slider_arrowr.png">');
但那只是印<img ...在屏幕上。
<img ...
使用.html,而不是.text。
.html
.text