gusucode.com > 【demx94】生产消防安全器材类企业织梦模板(带手机移动端) > 【demx94】生产消防安全器材类企业织梦模板(带手机移动端)/m/skin/js/search.js
/* 搜索提示 */ function checksearch(the) { if ($.trim(the.key.value) == '') { alert('请输入关键字'); the.key.focus(); the.key.value = ''; return false } if ($.trim(the.key.value) == '请输入关键字') { alert('请输入关键字'); the.key.focus(); the.key.value = ''; return false } }