首页 > 其他 > 详细

自定义多重搜索

时间:2016-06-18 22:24:04      阅读:230      评论:0      收藏:0      [点我收藏+]

自定义适合自己的多重搜索

 

<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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!