开发者

Fading effect everytime I add an item in my table ein javascript/jQuery

I'm developing a webapp using ASP.NET, C# and jQuery. And I have开发者_运维百科 a page where I add a certain item. And in this item, it will also list all the current items. Above the list is a form that I can add a new Item. Then everytime I add a new item will add above of list with a fading effect. Is this possible?

Please advise.

Many thanks.


try this,

http://www.learningjquery.com/2008/02/simple-effects-plugins


Yes, assuming you have the new record in a tr row you could do something like this:

$tr = newRow(); //Create tr with your new record here
$tr.hide();
$tr.appendTo($("#your_table")).fadeIn();

Hope this helps

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜