如何用jq做一个搜索框?求大佬解答,本人刚学。
jquery吧
全部回复
仅看楼主
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 1
刚学有点不会。。。
2017年12月31日 09点12分 3
level 12
直接用placeholder那个html5属性就好了
2018年01月06日 15点01分 4
level 1
加个placeholder就差不多了吧跟jQuery关系不大吧
2020年08月11日 02点08分 5
level 1
设置和placeholder就行了
2020年08月14日 08点08分 9
level 1
恶意的节奏
2020年10月06日 08点10分 297
level 1
这是什么鱼
2020年10月15日 13点10分 349
level 1
【日常】
2020年10月16日 03点10分 354
level 1
如何评价?
2020年10月23日 07点10分 390
1 2 3 尾页