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.
1 Resposta
+ 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