Home > Enterprise >  When trying to set an HTML element's content to an Emoji in javascript, it displays strange sym
When trying to set an HTML element's content to an Emoji in javascript, it displays strange sym

Time:12-25

I want to have a javascript function that changes the text of an element with the id "emoji" to the laughing emoji.

function changeEmoji() {
    document.getElementById("emoji").textContent = "           
  • Related