[jQuery] using .html() doesn't copy FlashVars value in IE

[jQuery] using .html() doesn't copy FlashVars value in IE


I have some hardcoded object/embed code that I am copying and showing
in a different location. However, the value of the FlashVars param is
coming up 'undefined' in IE right after the copy. So, if I start with
the following (simplified here) html...
<div id="wrapper">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param name="movie" value="/path/to/swf" />
<param name="FlashVars" value="/path/to/flv">
</object>
</div>
and do...
var flashContent = $("#wrapper).html();
alert(flashContent);
In Firefox the alert display the correct content. But in IE the
'FlashVars' value is empty. Huh?