搜索框 关键字不能为空
<SCRIPT LANGUAGE="JavaScript"> |
|
<!-- |
|
function post_search(){ |
|
if(document.getElementById("search_keyword").value==''){ |
|
alert("关键字不能为空"); |
|
return false; |
|
} |
|
document.getElementById("form_search").submit(); |
|
} |
|
//--> |
|
</SCRIPT> |