i want the user to enter a positive number from 1 - some number, then without reloading or anything, the javascript will input that many text boxes.
I know this isn't a php question, but i coudln't find help for it on any javascript sites.
Thanks!
I sorta have some idea, but not sure about it completely.
<form name="addfields">
<input type="text" name="boxnum">
</form>
<script language="javascript">
<!--
addfields(boxnum) {
// loop this somehow
document.write("<input type="text" name="box" . $i . "">);
}
-->
</script>