level 1
就是鼠标焦点不在时框内有 “搜索内容”四个字,当焦点在框内就为空值
2017年12月31日 09点12分
1
level 1
<div class="search tm">
<input type="text" value="" class="search-text"/>
<input type="button" value="" class="search-btn"/>
</div>
2017年12月31日 09点12分
2
从头至尾,从头到尾
2020年11月17日 12点11分
level 12
直接用placeholder那个html5属性就好了
2018年01月06日 15点01分
4
level 1
加个placeholder就差不多了吧跟jQuery关系不大吧
2020年08月11日 02点08分
5