<input type="button" value="监听dom变化" id="target"> <script> $("#target").on('DOMNodeInserted',function () { alert(111) }) </script>