In my latest program, there is a button that displays some input popup boxes when clicked. After these boxes go away, how do I hide the button?
document.getElementById('btnID').style.visibility='hidden';
<script>
$('#btn_hide').click( function () {
$('#btn_hide).hide();
});
</script>
<input type="button" id="btn_hide"/>
this will be enough
//Your code to make the box goes here... call it box
box.id="foo";
//Your code to remove the box goes here
document.getElementById("foo").style.display="none";
of course if you are doing a lot of stuff like this, use jQuery