产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

建了一个英文网站遇到点问题,麻烦了 [复制链接]

1#


在产品那里建了个搜索,我也在模型那里添加了英文的查找模型。
可调用下面代码查找出来的页面是中文的,(可以看图片)。
<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>
分享 转发
PAGEADMIN真心好,点赞
TOP
2#

value设置的不对,你看一下。
TOP
发新话题 回复该主题