javascript - How to set Jhtmlarea editor to blank or empty -
i've textarea
, have implemented jhtmlarea
editor jquery plugin. , when click on reset button. need set empty or blank.
html below
<textarea cols="170" id="area4" rows="20"></textarea>
i tried, didn't work.
$('#area4').htmlarea('html', '');
any other suggestion please.
yep got work:
$('#textarea-content').htmlarea('html',' ');
but doesn't work
$('#textarea-content').htmlarea('html','');
ok these seems best
$('#textarea-content').htmlarea('html','\n');
or
$('#textarea-content').htmlarea('html','\b');
they leave no space @ start
on page http://jquery-spellchecker.badsyntax.co/jhtmlarea.html
Comments
Post a Comment