Search code examples
javascripthtmljquerysummernote

how to get input value from summornote text Editor


enter image description here

//html code //<div id="txtDescription" class="summernote datarequired" //title="Description Reuired">

// jquery code for get data i use $('#txtDescription').val() to access value But not getting.


Solution

  • I think you need to $("#txtDescription").code() or $("#txtDescription").summernote('code') either of this might help you solve your problem.

    please refer Here

    for further info.