当前位置: 代码迷 >> ASP.NET >> 下面这种写法为什么是异常的啊怎样才正确
  详细解决方案

下面这种写法为什么是异常的啊怎样才正确

热度:7697   发布时间:2013-02-25 00:00:00.0
下面这种写法为什么是错误的啊,怎样才正确
top = 500;
$(".info").animate({top:'" + Top + "'});

------解决方案--------------------------------------------------------
$(".info").animate({ height: "" + top + "" });
------解决方案--------------------------------------------------------
$(".info").animate({ height: top });
  相关解决方案