thanks for that info, which leads me to anther question.
If I hide the DIV and keep on dynamically creating a new ones, will I potentially run into memory or resource problems.
Perhaps if I use the same name or id for the DIV, then would that effectively destroy any previous instance of the DIV?
Is that logic correct?
No.
As already said you can only use an ID once on a page. However you can re-write the contents of a div so you could re-use the one you already have.
[html]
<script type="text/javascript">
<!--
function WriteElementText( id, text )
{
var el = document.getElementById(id);
if (el)
{
el.innerHTML = text;
}
}
//-->
</script>
[/html]
If you keep on creating divs then ultimately you will get an out of memory error.