Name: Anonymous 2012-08-16 13:30
function Getunits(){
var units = document.getElementById('units');
append = "";
for (count=0; count<=units; count++){
append = document.getElementById('futureacc').innerHTML = '<input type="text" name="toprovision">';
}
document.getElementById('futureacc').innerHTML = 'Please provide your Account Number: <input type="text" name="accountnum">';
document.getElementById('futureacc').innerHTML = append;
}
All I want in life right now is for this script to actually go through the loop and fucking display the form field and not the nothing it currently does.
Please, for the love of whatever you love, help me.
var units = document.getElementById('units');
append = "";
for (count=0; count<=units; count++){
append = document.getElementById('futureacc').innerHTML = '<input type="text" name="toprovision">';
}
document.getElementById('futureacc').innerHTML = 'Please provide your Account Number: <input type="text" name="accountnum">';
document.getElementById('futureacc').innerHTML = append;
}
All I want in life right now is for this script to actually go through the loop and fucking display the form field and not the nothing it currently does.
Please, for the love of whatever you love, help me.