Empty editor by jquery

3 posts, 0 answers
  1. Mk
    Mk avatar
    12 posts
    Member since:
    Aug 2012

    Posted 13 Sep 2012 Link to this post

    I am using json for comment on post where i use kendo ui editor for summary. on success json i am trying to clear editor value by jquery like $('#editor').val(' ');
    its not working.If i remove kendo editor its working fine. please help.
  2. Francis
    Francis avatar
    2 posts
    Member since:
    Jan 2012

    Posted 27 Sep 2012 Link to this post

    I'm also trying to figure this out.  I have the editor in a dialog and when I close the dialog I want to clear the form.  But I tried clearning the underlying textarea with $("#the-textarea").val(''), but that doesn't do anything.  I was able to sucessfully clear other kendo enabled input boxes, but not an editor.  Please explain how to do this.

    I've actually got the same problem with the numeric text box.  Since kendo creates a separate input, the value doesn't get cleared.
  3. UI for ASP.NET AJAX banner
  4. Kris Nobels
    Kris Nobels avatar
    15 posts
    Member since:
    Aug 2009

    Posted 17 Jun 2013 Link to this post

    var editor = $("#editor").data("kendoEditor");
Back to Top