大家帮忙看看这个什么意思?
我在index.html中有这样一个JS调用:
<script src="/templets/meir/search.js" type="text/javascript" language="javascript1.2"></script>
在search.js中代码是:
document.writeln("<div id=\"search\"><ul ><li><\/li><\/ul><div id=\"formon\" class=\"li_1\"><form action=\"\/plus\/search.php\" name=\"formsearch\"><p><input type=\"hidden\" name=\"kwtype\" value=\"1\" \/><input type=\"hidden\" name=\"searchtype\" id=\"searchtype\" value=\"titlekeyword\" \/><input name=\"keyword\" id=\"keyword\" type=\"text\" class=\"txt\" value=\"孕妇网模糊搜索\" onfocus=\"try{if(this.value==\'孕妇网模糊搜索\'){this.value=\'\';}document.getElementById(\'focusTabs\').mouse=true;}catch(e){}\" onBlur=\"try{if(this.value==\'\')this.value=\'孕妇网模糊搜索\';document.getElementById(\'focusTabs\').mouse=false;}catch(e){}\" \/><input type=\"submit\" value=\"搜索\" class=\"submitBtn\" \/><span><a href=\"\/member\" target=\"_blank\" >会员中心<\/a><a href=\"#\" target=\"_blank\" ><font color=red>孕婴商城</font><\/a><\/span><\/p><\/form><\/div><div id=\"formon\" class=\"li_2\" style=\"display:none\"><\/div><div id=\"formon\" class=\"li_3\" style=\"display:none\"><\/div><\/div>");
我已经确认 /templets/meir/search.js 的路径没有错误, 为什么在主页index.html中什么都没显示啊?
大家帮忙看看。。