gpt4 book ai didi

javascript - 在 asp.net 弹出窗口中打开我的新页面

转载 作者:行者123 更新时间:2023-11-30 13:10:29 26 4
gpt4 key购买 nike

我有一个常规页面。当我单击一个按钮时,它将在该页面中打开,并带有一些 asp 控件。我需要的是我想在弹出页面中打开该页面,里面有关闭按钮。我搜索了但没有找到合适的代码。有谁能够帮助我?谢谢 enter image description here

最佳答案

<script type="text/javascript">
function OpenPopup() {

window.open("ProductClass.aspx", "List", "toolbar=no, location=no,status=yes,menubar=no,scrollbars=yes,resizable=no, width=900,height=500,left=430,top=100");
return false;
}
</script>

关于javascript - 在 asp.net 弹出窗口中打开我的新页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14031707/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com