JSFiddle - React, Tailwind, and code Playground

by Addy Osmani

HTML

<input type="checkbox" id="x"/> <input type="checkbox" id="x:y"/>

JavaScript

//$(':checkbox[id=x:]').attr('checked','checked');
$(':checkbox[id=x\:]').attr('checked','checked');