<script>
var nums=0;
function fncCreateElement(){
var mySpan = document.getElementById('mySpan');
var myElement1 = document.createElement('div');
myElement1.setAttribute('id',"ctext"+nums);
myElement1.innerHTML="<input type=text name=txt[] />";
mySpan.appendChild(myElement1);
nums++;
}
function fncRemoveElement(){