产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » 建了一个英文网站遇到点问题,麻烦了
janloo - 2013/7/31 12:38:46

4900
在产品那里建了个搜索,我也在模型那里添加了英文的查找模型。
可调用下面代码查找出来的页面是中文的,(可以看图片)。
<script type="text/javascript">
function  c_keyword()
{
  if($("title").value=="")
  {
    alert("Please input keywords!");
    $("title").focus();
    return false;
  }
}
</script>
<form method="get" action="/e/search/" target="zdy_search" name="S_article">
    <input id="title" maxlength="50" size="15" name="title" type="text" /> <input type="hidden" name="modelid" value="125" /><input type="hidden" name="siteid" value="1" /><input class="button" type="submit" onclick="return c_keyword()" value=" Search " />
</form>
Amazing - 2013/7/31 13:19:55
value设置的不对,你看一下。
1
查看完整版本: 建了一个英文网站遇到点问题,麻烦了