Hai Sir,
I want a program to create textbox with in the textbox when keyup is pressed using javascript....
Could any one help me...
1
Expert's answer
2012-07-03T08:51:20-0400
Question function add_textBox(e){ e = e || window.event; if (e.keyCode == 38) { var new_textBox = document.createElement('div'); new_textBox.innerHTML = '<input name="textBox" onKeyUp="add_textBox(event)">'; document.getElementById('textBoxi').appendChild(new_textBox); } }
Comments
Leave a comment