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.
如何img在 a 之后放置一个元素select并让它淡出?
img
select
到目前为止我已经尝试过:
appendTo
after
fade
尝试.insertAfter()
.insertAfter()
使用此链接效果将附加到图像元素。
$(function() { $('<img class="pub-cover" src="http://i.imgur.com/vER9H.png" />') .insertAfter('select').fadeOut('slow') });
演示