texarea动态改变监听

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
</head>
<body>
<textarea id="ll" style="display: block" class="notifyDetail"></textarea>

</body>
<script>
      $(document).on("input propertychange","#ll",function(){
        alert(123);
    });
</script>
</html>

 

posted on 2020-08-07 09:33  小胖子方法  阅读(108)  评论(0编辑  收藏  举报

导航