jQuery to dynamicaly generate specific numbers of form input fields
Guys,
I am not new to jQuery but I just want to ask the best way to approach this. Basically I have a textfield in which the user is going to type in a number (for example 20) and after this textfield lose focus jQuery will be triggered to create whatever number of textfields the user put before (in this case 20).
So, to illustrate:
How many users do you have: [ 2 ]
(and after the field above lose focus, the below will be generated)
Fullname: [ ]
Fullname: [ ]