diy / jquery-emojiarea

A rich textarea control that supports emojis, WYSIWYG-style.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JQuery .val() not working as expected

fauria opened this issue · comments

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('');

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