如何显示弹出窗口 [英] How to show pop up window

查看:61
本文介绍了如何显示弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

    Reply Modify the comment.  Delete the comment.
Hello everyone i am showing a webpage using Iframe i am also passing ID and Article from my gridview but now i want to show this webpage using POPUP window.How to do that. Please Help. Here is my code

Iframe1.Attributes.Add("src", "Drawing2.aspx?ID=" + grdrow.Cells[1].Text + "&Article=" + grdrow.Cells[2].Text + "&testdrawing= kkk");





我尝试过:



请帮忙。我使用javascript代码显示弹出窗口



What I have tried:

Please help. I am using javascript code to show Popup window

推荐答案

您可以在JavaScript中使用window.open(url)单独打开窗口。或者,您可以使用jquery对话框插件将其显示为弹出窗口。取决于弹出窗口的含义以及您希望它做什么。
You can use window.open(url) in JavaScript to open the window separately. Or, you can use a jquery dialog plugin to display it as a popup. Depends on what you mean by popup and what you want it to do.


这篇关于如何显示弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆