I want to be able to have one text field showing but if the user needs to use another, they'll be able to click on a button and a second one appear and so on. Is this possible without refreshing?
posted this awhile ago but couldn't find the thread but here it is again
<html>
<head>
<script language="javascript">
<!-- function to add field -->
function addBox() {
var lng = frm.length + 1
var Nfield = "numbers" + lng
//alert(Nfield);
frm.innerHTML += '<input type="text" name="' + Nfield +'" class=txtbx><br><br>'
_________________________________________________________
for the best results to your questions: FAQ333-2924 01001111 01101110 01110000 01101110 01110100
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.