How to capture value changed in a igHtmlEitor? Something like igeditorvaluechanged would be great. Thanks
Hello Luis,
You can see all events that you can handle at http://help.infragistics.com/jQuery/2014.2/ui.igHtmlEditor
However there is no value changed event and that is makes sense of course since this is an input control and such event would fire every time the user types in something. Please explain what is your scenario and what you want to achieve so that I could suggest another approach.
Thanks Hristo. All igEditor derived controls have valueChanged event, this is very important. In my case I need to set some variables or controls depending on whether user has changed control value.
Thanks Hristo. It works! ;)
As you can see in API documentation of the igHTMlEditor, it does not expose a valueChanged event. I suggest that you attach to the onkeyup event of the igHTMLEditor element:
$(function () {
$("#htmlEditor").igHtmlEditor({ // widget options });
var textArea = $("#htmlEditor").igHtmlEditor("contentEditable"); $(textArea).on("keyup", function() { // your code that will set some variables or controls depending on whether user has changed control value. })});
Please let me know if you have further questions on the issue.