<input type="radio" data-true checked="checked">
<br>
<input type="radio">
var input = $('input [data-true]');
input.prop('checked') ? alert("checked") : alert("none");

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js