How to slideDown() input box?

aldetira76

New Member
I have a button that adds an input box right under the previous input box. I want to add an animation, trying to make it more smooth instead of just popping there. I tried this so far but is does not work. A fiddle example would be awesome.\[code\]var counter = 0;$('#addinput').click(function(){ $('#inputs').append('<input class="search" style="margin-bottom:4px;" type="search" name="word' + counter++ + '"/>'); $('.search').slideDown();});\[/code\]
 
Top