87,919
社区成员
发帖
与我相关
我的任务
分享
<input type="button" value="图片搜索" onclick="picture('春')">
<script language="javascript">
<!--
function picture(x){
window.location.href="http:\/\/images.google.cn\/images?hl=zh-CN&q="+x+"&btnG=%E6%90%9C%E7%B4%A2%E5%9B%BE%E7%89%87&gbv=2&aq=x&oq="
}
//-->
</script>
funciong picture(x)
{
location.href='http://images.google.cn/images?hl=zh-CN&q='+x+'&btnG=%E6%90%9C%E7%B4%A2%E5%9B%BE%E7%89%87&gbv=2&aq=f&oq=';
}
<form action="http://images.google.cn/images" name=f target="_blank">
<input name=hl type=hidden value=zh-CN>
<input autocomplete="off" maxlength=2048 name=q size=40 title="搜索图片" value="">
<input name=btnG type=submit value="搜索图片">
</form>