76 780
Assignments Done
Successfully Done
In June 2019

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...
Expert's answer
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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions