Append and Slide together jQuery

前端 未结 3 424
执笔经年
执笔经年 2021-02-03 23:03

I have this append method which I made to add more input boxes until there is 10 of them which will disable into making more.

i = 0;
$(\'#add-link\').click(funct         


        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-03 23:47

    Like SimpleCoder's solution, but in only one line using appendTo():

    $('').appendTo($('.insert-links')).slideDown("fast");
    

    Demo: http://jsfiddle.net/V4SVt/336/

提交回复
热议问题