怎么添加搜索链接?

来源:百度知道 编辑:UC知道 时间:2024/05/25 14:48:48
我在做一个网页
怎么让浏览都按一个链接自动用百度搜索搜索出来?

一个例子,使用java脚本
<input type="button" value="搜索进程" onclick="window.open('http://www.baidu.com/s?wd=' + document.getElementById('p').value + '%A3%ACsite%3Aabcku.com&cl=3')">