JSFiddle - React, Tailwind, and code Playground
by zlojnaxa
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<div style="position: absolute; width: 300px; height: 20px; z-index: 1;" id="layer1">
<text style="width:20px;height:20px; font-weight:normal; font-size:16px; font-family:Arial;">
<label>НОВОИЛ<input type="radio" name="radio" value="1" checked="checked" ></label>
<label> <input type="radio" name="radio" value="2" >Счетчики</label></text>
</div>
JavaScript
$('input[name="radio"][value="1"]').click(function(){
alert('Был клик');
});
$('#layer1 input[name="radio"]:checked').click();