我想知道怎样才能把fadeIn代码放在这里?我在一个网格视图中有一个网格视图,当用户点击“加号/减号”图片时,我想在其中放置一个效果,到目前为止,我的效果只是通过网格视图的一个简单弹出窗口,我如何将fadeIn或slideDown效果放到我的代码中?
下面是我的代码
$("[src*=plus]").live("click", function() {
$(this).closest("tr").after("<tr><td></td><td colspan ='100%'>" + $(this).next().html() + "</td></tr>");
$(this).attr("src", "../Images/Icons/minus2.png");
});
$("[src*=minus]").live("click", function() {
$(this).attr("src", "../Images/Icons/plus2.png");
$(this).closest("tr").next().remove();
});https://stackoverflow.com/questions/38236164
复制相似问题