Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2165
igHtmlEditor value changed
posted

How to capture value changed in a igHtmlEitor? Something like igeditorvaluechanged would be great. Thanks

Parents Reply
  • 16310
    Verified Answer
    Offline posted in reply to LUIS LEDESMA

    Hello Luis,

    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.

Children