diy / jquery-emojiarea

A rich textarea control that supports emojis, WYSIWYG-style.
298 stars 87 forks source link

JQuery .val() not working as expected #4

Open fauria opened 10 years ago

fauria commented 10 years ago

When running JQuery's val() function on a emojiarea, the div is not affected. For example, $("textarea").val(''); does not clear the div.

A workaround can be used: $(".emoji-wysiwyg-editor").html('');

conradomd commented 8 years ago

Same problem here! Tks @fauria for de help! .html(''); works fine for me!