需要用图像、按钮替换 Read More... 和 Read Less...。
$("a", $(this).parent()).text($(this).is(':visible') ? 'Read More...' : 'Read Less...');
我试过
$("a", $(this).parent()).text($(this).is(':visible') ? '<img src=images/testeon.jpg>' : '<img src=images/testeoff.jpg>');
但它显示了 src url