点击按钮打开 输入的链接
2009-09-14 21:56
232 查看
1、输出到框
<input type=text name="url">
<input type="button" value="OK" onclick=document.main.location=url.value;>
<iframe name="main" width="500" height="500"></iframe>
<input type="text" name="newLocation" id="newLocation" size="60" value="Input new URL here!" onFocus="this.value=''">
<input type="button" value="ChangeIframeLocation" onClick="window.hello.location=document.getElementById('newLocation').value;">
<br><br>
<iframe name="hello" src="http://bbs.blueidea.com/" width="80%" height="60%"></iframe>
2.输出到新窗口的 拼凑网址 与asp在一起用 (自用)!!!
<input name="DefaultPicUrl" type="text" id="DefaultPicUrl" size="30" maxlength="240">
<input type="button" value="OK" onclick="window.open('http://to223184.11047.84g.com/86/spic.asp?kw='+DefaultPicUrl.value)"/>
<input type=text name="url">
<input type="button" value="OK" onclick=document.main.location=url.value;>
<iframe name="main" width="500" height="500"></iframe>
<input type="text" name="newLocation" id="newLocation" size="60" value="Input new URL here!" onFocus="this.value=''">
<input type="button" value="ChangeIframeLocation" onClick="window.hello.location=document.getElementById('newLocation').value;">
<br><br>
<iframe name="hello" src="http://bbs.blueidea.com/" width="80%" height="60%"></iframe>
2.输出到新窗口的 拼凑网址 与asp在一起用 (自用)!!!
<input name="DefaultPicUrl" type="text" id="DefaultPicUrl" size="30" maxlength="240">
<input type="button" value="OK" onclick="window.open('http://to223184.11047.84g.com/86/spic.asp?kw='+DefaultPicUrl.value)"/>
相关文章推荐
- UIWebView中链接调用Safari打开目标链接 点击cell里面的一个按钮如何确定按钮所在的cell的行
- Flex中如何给一个按钮添加链接,点击链接打开一个网页呢? - FLEX学习笔记
- Flex中如何给一个按钮添加链接,点击链接打开一个网页呢?
- 利用pywinauto模块打开一个应用,输入参数,点击应用中的按钮,获取数据
- WinForm 点击按钮把用户输入的信息导入到Word并以系统时间命名 然后打开这个Word所在文件夹
- Flex中给按钮添加链接点击链接打开网页的方法
- 利用pywinauto模块打开一个应用,输入参数,点击应用中的按钮,获取数据
- Flex中如何给一个按钮添加链接,点击链接打开一个网页呢?
- android chromium点击链接打开新标签页过程分析
- php -- PHP实现点击a标签的href做链接时,直接保存文件(任何类型),而不是通过浏览器直接打开下载的文件
- 黑马程序员之WinForm编程基础学习笔记:用户在文本框1,2中输入两个数,点击按钮,在文本框3中显示从文本框1中的数字到文本框2中的数字之间的累加和。如果1或者2为错误的数据格式,则弹出对话框提示错
- 点击按钮(button)打开新窗口(window)的几种情况
- 如何点击按钮弹出新窗口,输入数据后返回并刷新页面?(1)
- Selenium模拟操作中按钮点击(click)失效问题和文本框输入内容失败问题
- CSS:去除点击链接和按钮时出现的虚线框
- 点击按钮或链接时不跳转只刷新页面
- 网页点击部分按钮和链接没有反应,javasript失效
- 如何点击按钮弹出新窗口,输入数据后返回并刷新页面?
- ]如何点击按钮弹出新窗口,输入数据后返回并刷新页面?(C#代码)