Results 1 to 3 of 3
Feb 4, 2014, 12:26 #1
- Join Date
- Feb 2003
- Knoxville, TN
- 0 Post(s)
- 0 Thread(s)
Clearing the contents of a tag in IE
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:
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?