html部分:
1 | <input id="search-key" type="text" placeholder="请输入关键字"> |
JavaScript部分:
1 | $('#search-key').keypress(function(event) { |
html部分:
1 | <input id="search-key" type="text" placeholder="请输入关键字"> |
JavaScript部分:
1 | $('#search-key').keypress(function(event) { |
微信公众号同步更新,欢迎关注~