.html(""), .empty("") not working in IE
<p>Guys I am fed up trying to empty the contents of a div at run time in IE!!<br>
I simply need to empty the contents of a div, because every time I need to show a new video like youtube.   </p>

<p>I tried everything like <code>$('#divvideo').empty("")</code>, <code>$('#divvideo').remove()</code> but nothing works for me in IE. could you please suggest what can I do??</p>

<pre><code> $('#divvideo').html("");
        this.$Embed = $('&lt;embed&gt;&lt;/embed&gt;');
        this.$Embed.attr({ src: src.href });
        this.$Embed.attr({ width: "420" });
        this.$Embed.attr({ height: "366" });
        this.$Embed.attr({ type: "video/x-ms-wmv-plugin" });
        this.$Embed.attr({ pluginurl: "http://www.microsoft.com/windows/windowsmedia"    });
        this.$Embed.attr({ allowchangedisplaysize: "1" });
        this.$Embed.attr({ autosize: "1" });
        this.$Embed.attr({ displaysize: "1" });
        this.$Embed.attr({ showcontrols: "1" });
        this.$Embed.attr({ showstatusbar: "1" });
        this.$Embed.attr({ autorewind: "1" });
        this.$Embed.attr({ autostart: "1" });
        $('#divvideo').append(this.$Embed);
</code></pre>
