C# 通过showModalDialog()打开外部链接
有没有办法通过showModalDialog函数打开外部链接 我的意思是,我想通过showModalDialog()在打开的弹出窗口中打开“www.google.com” 请回复。 谢谢是的,你可以 例如:C# 通过showModalDialog()打开外部链接,c#,javascript,asp.net,.net,C#,Javascript,Asp.net,.net,有没有办法通过showModalDialog函数打开外部链接 我的意思是,我想通过showModalDialog()在打开的弹出窗口中打开“www.google.com” 请回复。 谢谢是的,你可以 例如: window.showModalDialog(“http://stackoverflow.com/users/1310467/hatsoft"); 如前一篇文章所述,您可以使用showModalDialog函数打开外部链接,但请记住,如果您的外部链接是跨域的,showModalDialo
window.showModalDialog(“http://stackoverflow.com/users/1310467/hatsoft");
如前一篇文章所述,您可以使用showModalDialog函数打开外部链接,但请记住,如果您的外部链接是跨域的,showModalDialog将不会返回任何结果值
<script language="javascript">
window.showModalDialog("http://stackoverflow.com/users/1310467/hatsoft");
</script>