Code:
function flash_insert() { var flash_to_insert = '<object type="application/x-shockwave-flash" data="myflash.swf" width="980" height="130">'; flash_to_insert = flash_to_insert + '<param name="movie" value="myflash.swf" />'; flash_to_insert = flash_to_insert + '</object>'; document.getElementById('flash_2').innerHTML = flash_to_insert; } . . . <span id="flash_2"></span>
The code above works fine in IE7, Opera9, but NOT in Firefox. Why??
Thanks in advance.
Comment