简体   繁体   English

如何刷新aspx页面中的对象标签

[英]how to refresh object tag in aspx page

I am embedding the plugin in aspx page and in the java script based on certain condtion,I need to reload the object tag. 我根据一定的条件将插件嵌入到aspx页面和java脚本中,我需要重新加载对象标签。

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<script src="<%=ConfigurationManager.AppSettings["assets"]%>js/Util.js"
 <object name="MyPlugin" id="Myplugin" width="0" height="0" type="application/x-Myplugin">            
</object>

Edited: I wanted to do something like this Reloading a loaded plugin . 编辑:我想做这样的事情重新加载已加载的插件

Please help me reloading the plugin in java script. 请帮助我以Java脚本重新加载插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM