社区
ASP
帖子详情
点击button按扭打开新窗口~
Bullforg
2005-11-19 12:14:45
怎么做~请教
...全文
186
4
打赏
收藏
点击button按扭打开新窗口~
怎么做~请教
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
mgzhenhong
2005-11-19
打赏
举报
回复
OnClick="window.open('www.163.com');"
king_shadow
2005-11-19
打赏
举报
回复
<input type="button" onclick="javascript:window.open('http://www.csdn.net')">
----------------------------------------------------
ASP技术群,欢迎有兴趣者加入(群号: 4259772)
ybfqlyq
2005-11-19
打赏
举报
回复
一樓簡單方便,建議使用。
nevana
2005-11-19
打赏
举报
回复
<input type=button value="弹出新页面" onclick="open('1111', 'yes')" id=button1 name=button1>
<script>
function open(code, para1) {
if (window.showModalDialog("xxxx.asp?xxxx="+code+"&xxxx="+para1,"","dialogHeight:440px;dialogWidth:680px;help:no;status:no")=="updated") {
location.reload();
}
}
可以实现模式对话框的弹出哦,不过要IE5.5以上
点击
按钮(
button
)打
开
新窗口
(window)的几种情况
点击
按钮(
button
)打
开
新窗口
(window) 从事前端制作的朋友都有碰到过,需要
点击
按钮跳转到另外一个页面。只要用到简单的onclick事件就可以简单实现效果。 方式一:在原来的窗口上打
开
新窗口
方式二:在新打
开
的窗口上打
开
新窗口
方式三:在新打
开
的一块小窗口上打
开
新窗口
,此窗口没有菜单栏 window.showModalDialog('http://linlizh
C# Winform
点击
按钮打
开
新窗口
C# winform
点击
按钮打
开
新窗口
在Windows窗体form1中创建一个按钮,命名为
button
1,然后再对项目进行右键选择添加一个Windows窗体,命名为form2。
button
1的
点击
事件的方法为: private void
button
1_Click(object sender, EventArgs e) { form2 f = new...
button
点击
跳转
新窗口
打
开
【代码】
button
点击
跳转
新窗口
打
开
。
WPF
点击
按钮打
开
新窗口
WPF
点击
按钮打
开
新窗口
因为我的两个窗口是在同一个命名空间,所以不需要使用using 按钮在 Window9窗口 当
点击
按钮时,运行
Button
_Click() 代码片断. namespace WpfApplication1 { /// <summary> /// Window9.xaml 的交互逻辑 /// </summary> public partial class Window9 : Window { publi
点击
button
按钮打
开
新的标签页
//1、
开
启新的页面 <
button
class="ui
button
" type="submit" onclick="window.open('目标地址')"><i class="edit icon"></i>编辑个人信息</
button
> //2、在当前页面打
开
指定页面 <
button
class="ui
button
" type="submit" onclick="window.location.href='目标地址'">写文章</bu
ASP
28,391
社区成员
357,060
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章