【问题标题】:how to available plug-in for <object> tag?如何为 <object> 标签提供插件?
【发布时间】:2013-07-14 08:20:05
【问题描述】:

我如何为这个 标签提供插件?

  function load_about(){    
document.getElementById("content").innerHTML='<object type="type/html" data="about.html" > </object>';
  }

当我使用浏览器谷歌浏览器调用该函数时,这会显示。

有什么解决办法吗?

【问题讨论】:

    标签: google-chrome object-tag


    【解决方案1】:

    在问题的代码示例 (?) 中缺少 type="text/html" 或拼写错误会导致 chrome 中出现错误消息(但在 firefox 中不会)。

    【讨论】:

      猜你喜欢
      • 2017-08-31
      • 1970-01-01
      • 2013-01-04
      • 2017-03-26
      • 1970-01-01
      • 1970-01-01
      • 2015-10-18
      • 1970-01-01
      • 2014-12-11
      相关资源
      最近更新 更多