标签:
自定义适合自己的多重搜索
<html> <head> <title>杨韬的多重搜索</title> <meta charset="UTF-8"> </head> <body> <h3>杨韬的多重搜索</h3> <form action="" name="form1" target="_blank"> <!-- target="_blank" 在新的页面打开--> <input type=text id="textBox1" name=‘‘ size=30> <!-- 文本框 name为发送参数--> <input type="button" value="百度" type="submit" onclick=" document.getElementById(‘textBox1‘).name=‘wd‘; form1.action=‘http://www.baidu.com/s‘;form1.submit();"/> <input type="button" value="Google" type="submit" onclick=" document.getElementById(‘textBox1‘).name=‘q‘; form1.action=‘https://www.google.com.hk/search‘;form1.submit();" /> <input type="button" value="Bing" type="submit" onclick=" document.getElementById(‘textBox1‘).name=‘q‘; form1.action=‘http://cn.bing.com/search‘;form1.submit();" /> <input type="button" value="Google学术" type="submit" onclick=" document.getElementById(‘textBox1‘).name=‘q‘; form1.action=‘https://scholar.google.com.hk/scholar‘;form1.submit();" /> <input type="button" value="百度学术" type="submit" onclick=" document.getElementById(‘textBox1‘).name=‘wd‘; form1.action=‘http://xueshu.baidu.com/s‘;form1.submit();" /> <input type="button" value="Bing学术" type="submit" onclick=" document.getElementById(‘textBox1‘).name=‘q‘; form1.action=‘http://cn.bing.com/academic/search‘;form1.submit();" /> <input type="button" value="Doi搜索" type="submit" onclick=" document.getElementById(‘textBox1‘).name=‘q‘; form1.action=‘http://search.crossref.org‘;form1.submit();" /> </form> </body> </html>
标签:
原文地址:http://www.cnblogs.com/ytyt2002ytyt/p/5596908.html