I have a span tag that I use to dynamically populate with HTML elements and on occasion clear.

When I want to clear the contents of the span, this works as expected in Firefox:
Code JavaScript:
document.getElementById('mySpan').innerHTML = '';

But this does nothing in IE. What's the best way to clear out the HTML elements in a tag in IE?