How to detect a change with jQuery to the contents of a textarea that's using jWYSIWYG plugin?
问题 I'm using the jwysiwyg plugin on textareas in my form (jwysiwyg: https://github.com/akzhan/jwysiwyg ) I want to detect changes to any of the textareas that are in my form. Normally, with a standard non-wysiwyg textarea, I do: $('textarea').change(function(e){ alert('Something changed!'); }); This proves ineffective when jwysiwyg is being used due to jwysiwyg's DOM manipulation. Anyone have any pointers? 回答1: Use this code, I've tested it with the help/example/01.basic.html and 02.full.html, I