im using jwysiwyg and i dont know how to clear the value of the frame to where the user will input the text..
im doing it like this..
$('#wysiwyg').val("");
but it is not working..
im using jwysiwyg and i dont know how to clear the value of the frame to where the user will input the text..
im doing it like this..
$('#wysiwyg').val("");
but it is not working..
Copyright © 2021 Jogjafile Inc.
You can use the
setContent
method like this:This has the effect of emptying the
<body>
element, so it should do what you're after.