JSFiddle - React, Tailwind, and code Playground

HTML

<a href="path" id="form1:ctlName"></a>

JavaScript

alert($('#form1\:ctlName').size());