1
I am with the following scenario, using the Plugin summernote
for a textarea
with the settings:
<textarea id="summernote" name="editordata">{{$termos->termos}}</textarea>
It returns from the database correctly, however I am creating a buttom to try to clean the data in case the customer wants to rewrite.
Code line:
<button type="button" class="text-center btn btn-warning" id="limpar">Limpar</button>
And the jQuery
this way as follows:
$('#limpar').click(function() {
$('#summernote').val(" ");
});
I tried the empyt()
also without success, someone would have some solution to this impasse?
It worked perfectly. Thank you
– Betini O. Heleno
@Betinio.Heleno without problems my dear [s]
– hugocsl