Answer to Question #11188 in AJAX | JavaScript | HTML | PHP for Sandhya

Question #11188
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); } }

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS