发送连接

来源:互联网 发布:算法模型是什么 编辑:程序博客网 时间:2024/05/29 09:43

方法一:

<a onclick="javascript:windowClose();disabled=true;this.form.submit();">
<input name="input" type="submit" value="连接"  onclick="location.href='http://baidu.com" />
</a>

方法二:

<input name="input" type="button" value="确定"  onclick="location.href='http://baidu.com';windowClose();" />

表单提交,窗体关闭,发送连接,

原创粉丝点击