I want to use the quill editor
, but he wrote
on div, but I just have to take out the content to get to the database
, but I have always failed
var html = $("- sharpeditor"). Val ();
$("- sharpcontent") .html (html);
I can"t do this
how can I get the value in div completely? And then meet up with input?
or is there another way to do this server?
pretending to be
the method I found on the web is document.querySelector (".ql-editor"). InnerHTML;
print it out and get it.
but how do I make it POST??
I added a hidden inpit
$("- sharpcontent") to the list. Val (html);
but the POST is followed by an empty