2

I have an emoji picker in my website. When I click on an emoji than I need to pass that value to input field. I tried passing like this:

document.getElementById('chat_input').value = "✔";

Bud when I do like this, it is showing as a simple string in input. I need it to display as an emoji. Please help me fix it.

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
Goutham
  • 352
  • 2
  • 4
  • 14

0 Answers0