JSFiddle - React, Tailwind, and code Playground

by chintsu

HTML

<input type="hidden" id="abc">

<p></p>

JavaScript

var position = $('#abc').position();
$("p").text( "left: " + position.left + ", top: " + position.top );