jq input 实时监听chang事件
程序员文章站
2022-07-14 22:10:36
...
$('.friend_content').bind('input propertychange', function(){
if ($(".friend_content").val() != "") {
console.log("input 值不为空")
} else {
console.log("input 值为空")
}
});
上一篇: 如何实时监听input值的实时改变
下一篇: 钉钉机器人Java实现