Slide Div
Posted: Sat Feb 25, 2012 12:39 am
Hi Guys,
I will try to make it simple, I have this code:
What I want to achieve is when user click the add link it add another <input name="ufile[]" type="file" id="ufile[]" size="50" /> and if he clicked again it add again until 5, I don't want him to add more than 5.
I am newbie with JavaScript/Jquery, So it will be appreciated if you can put code example
Many thanks,
Youssef
I will try to make it simple, I have this code:
Code: Select all
<input name="ufile[]" type="file" id="ufile[]" size="50" /><a href="#" id="add" class="add">Add</a>I am newbie with JavaScript/Jquery, So it will be appreciated if you can put code example
Many thanks,
Youssef