iframe, iframe button
有个default.aspx里有个treeview加一个iframe<asp:TreeView ID="TreeView1" runat="server" > <Nodes> <asp:TreeNode Text="物资管理" Value="物资管理" SelectAction="Expand"> </Nodes> </asp:TreeView><iframe id="iframe1" width="100%" height="100%" runat="server"></iframe>
其实就是子页面提交,刷新父页面是伐
在父页面写个js函数,比如函数叫 reload(),里面写一句页面刷新的js,window.location.href=xxxxxx之类;
子页面提交成功后,调用 parent.reload()即可。
漏了。。。
子页面提交成功后,调用 window.parent.reload();
不行啊,方法错误
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号