December 30th, 2012, 04:52 AM
I think what you are saying is that you want a user to be able to click the button and it adds another field each time they click it? so click it once get 1 field, click it again get a second field etc etc?
if so you would do something like
document.getElementById('containerDivId').innerHTML += "<input type=\"text\" name\"blah\" id=\"blah\">";
Maybe a mod could move this thread to the JS forum where you will get more love?
"Take thy beak from out my heart, and take thy form from off my door" - Homer J Simpson / Edgar Allan Poe
Looking for a project Idea?
Last edited by sir_drinxalot : December 30th, 2012 at 04:55 AM.