[英]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脚本重新加载插件。
Refer these Link it may be use full to you 请参阅这些链接,可能对您有用
object tag doesn't refresh when its data attribute is changed in Chrome 在Chrome中更改对象标签的数据属性后,它不会刷新
Changing data content on an Object Tag in HTML 在HTML中的对象标签上更改数据内容
Refresh / Reload Page at specific intervals 按特定间隔刷新/刷新页面
You can Modify these codes to your requirement. 您可以根据需要修改这些代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.