JSFiddle - React, Tailwind, and code Playground
by Eric Howe
HTML
<textarea id="location">✔</textarea>
JavaScript
if(document.getElementById('location').value.charAt(0) == '\u2714')
alert("symbol");
else
alert("not there");
by Eric Howe
<textarea id="location">✔</textarea>
if(document.getElementById('location').value.charAt(0) == '\u2714')
alert("symbol");
else
alert("not there");