注册 登录
编程论坛 ASP技术论坛

点击关键词直接进入搜索怎样实现

popoweb 发布于 2009-09-29 11:27, 977 次点击
http://www.这个网站的文章页里面最下面的关键词一点击就默认进入搜索里面。不知道这是怎样实现的。我网站用zblog建设的调用搜索的代码如下:

   <div class="rightbox">
 <ul><form method="post" action="<#ZC_BLOG_HOST#>cmd.asp?act=Search" style="text-align : right; margin: 3px 10px 0 auto ; " >
            <div align="left"><span style="font-size: 14px; color: #c60; font-weight: bold; ">电脑知识搜索:</span>
              <input type="text" style="height:16px;" name="edtSearch" id="edtSearch" size="30"  />
              <input type="submit" value="<#ZC_MSG087#>" name="btnPost" id="btnPost" />
      </div>
</form></ul>
 </div>

不知道能不能实现点击关键词直接提交。高手给个简单的提示。谢谢。
6 回复
#2
aspic2009-09-29 14:20
直接链接过去的吧 把关键词做参数传递
#3
无诲今生2009-10-01 12:51
对,同意楼上
#4
chenguoxing5172009-10-13 16:32
对,同意楼上
#5
msgj2009-10-13 22:47
<form name="form1" method="get" action="page/Article/search.asp" class="k_form" target="_blank">
<b><input type="text" name="query2" value="seo" maxlength="100" class="k_in3" style="width:150px;height:18px;"/></b>
<b><input type="hidden" value="2"></b>
<b><input name="submit" type="submit" value="搜索" /></b>  
</form>
#6
笨笨林2009-10-14 07:14
应该是直接链接
#7
chenbofeng202009-10-14 09:20
只能连过去了
1