Dynamic create text boxes using Javascript

Dynamically create HTML textboxes, listboxes using Javascript without refreshing the page?
<title>Dynamic Form</title>
<script language="javascript">
function changeIt()
var i = 1;
my_div.innerHTML = my_div.innerHTML +"<br><input type='text' name='mytext'+ i>"


<form name="form" action="post" method="">
<input type="text" name=t1>
<input type="button" value="test" onClick="changeIt()">
<div id="my_div"></div>



asp javascript dynamic forms forms create text boxes

Back To Top
© 1998 - 2018 psacake.com | My3C's

Version 7.2 | Advertise on this site