Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- clearing contents of a div
March 3, 2009, 9:12 pm
rate this thread
Re: clearing contents of a div
...or more usefully (and seeing as you said you weren't averse to a little
document.getElementById("mydiv").innerHTML = "";
You didn't say where the listbox markup would come from, so I'll assume you
a variable containing the 'beta list'... something like (assuming PHP, for
document.getElementByID("mydiv").innerHTML = "<?php echo $betalist ?>";
Give it a try. I didn't say I'd tested it.