0

How to add remove textbox on button click?

i want to add remove textbox on button click keeping minimum count of textbox to 3 and also a button besides textbox to remove it.

15th Aug 2017, 11:40 AM
Pratish Kadam
Pratish Kadam - avatar
1 ответ
+ 4
function remove() { var box = document.getElementById("textbox"); box.style.display = "none"; } give the textbox an id of textbox and in the button make it do this function onckick
15th Aug 2017, 2:45 PM
Joshua
Joshua - avatar