回复 1# z99yy6h 的帖子
<input type="text" id="QueryKey" />
<input type="button" onclick="QueryBaiDu()" /><br />
<script type="text/javascript">
var key=document.getElementById('QueryKey');
function QueryBaiDu()
{
window.open('http://www.baidu.com/s?wd='+key.value);
}
</script>