[Solved] How can I get a solution for this?


HTML

<input type="radio" id="radio1" name="radio" value="Yes" /><label for="radio1">Yes</label>
<input type="radio" id="radio2" name="radio" value="No"/><label for="radio2">No</label>

JS

$(function () { 
    $("input[name="radio"]").on("change", function () {

      if($("input[name="radio"]:checked").val() == "Yes"){
        alert("Enter your requirements");
      }
    });

});

JSFiddle try this

solved How can I get a solution for this?