我有一块jQuery代码,通过POST查询页面,然后该页面返回一些文本显示在页面上。这是我使用的成功做到这一点的代码:我试图改变$("#poll").html(responseText)
到$("#poll").html(responseText).fadeIn(1500);
jQuery:使用fadeIn()与.html()
$.post(
"query.php?module=vote",
{answer: ans, pid: pid, to: to, page: page},
function(responseText){
$("#poll").html(responseText);
},
"html"
);
,但它不工作。
我必须做什么/更改以使文本淡入页面?
请创建一个小提琴。它有很多帮助。 – Diode 2012-01-14 08:39:42