JSFiddle - React, Tailwind, and code Playground
by Shree Khanal
HTML
<input type="radio" id="rdbTest" />
<input type="button" id="btnTest" value="test"/>
JavaScript
$('#btnTest').live("click",function(){
if ($('#rdbTest').is(':checked')) {
} else {
alert(window.location);
window.location.replace("http://google.com/");
}
});