For some reason, I can\'t seem to figure this out.
I have some radio buttons in my html which toggles categories:
By using document.getElementById() function you don't have to pass # before element's id.
document.getElementById()
#
Code:
document.getElementById('_1234').checked = true;
Demo: JSFiddle