Home > Net >  Getting emoji from <select> <option> value as an <empty string>
Getting emoji from <select> <option> value as an <empty string>

Time:08-19

I have a selector with only emojis as options, and when trying to get the value in JS (the emoji the user picked) the console is printing it as an empty string.

This is my HTML code for the selector:

<select id="iconSelector">
     <option value="">           
  • Related