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>