2019-03-15

作者: _Alignas | 来源:发表于2021-01-17 18:35 被阅读0次
image.png

①基于layui select的实时搜索组件(重写layui select)。
实现思路:通过jquery的input propertychange事件监听输入框input的值的变化(用户输入),来实现实时搜索。

image.png
②使用(document).on()绑定点击事件到在js中【新添加】的元素(直接使用(ele).click()或(ele).on('click')无效) 如果某元素是新添加的元素,那么需要使用(document).on()的方式绑定事件到该元素上。

即时搜索或input实时检测监听输入框变化

③监听input值变化、chrom/ie/firefox兼容

image.png
④excute command denied to user 'deployop'@'%' for routine 'glcs.' ((submitDeptId))

相关文章

网友评论

    本文标题:2019-03-15

    本文链接:https://www.haomeiwen.com/subject/flglmqtx.html