title: How can I dynamically add an <object> tag with JavaScript in IE?
body: <p>I have to add either an embed tag for Firefox or an object tag for Internet Explorer with JavaScript to address the appropriate ActiveX / Plugin depending on the browser. The plugin could be missing and needs to get downloaded in this case. The dynamically added embed tag for Firefox works as expected. The dynamically added object tag for Internet Explorer seems to do nothing at all. The object tag needs the following attributes to function properly.</p>
  
  <p><code>id ="SomeId"
  classid = "CLSID:{GUID}"
  codebase = "http://www.MyActicexSource.com/MyCuteActivex.CAB#Version=2,0,0,1"</code></p>
  
  <p>Even a general working idea or method would be nice.</p>
  
  <p>Thanks!</p>