title: Compare radio button values using jquery
body: <p>In MVC 4 i am trying one scenario, i have 2 radio button sets,first set have the value of one,two three,four and second set consist of values one,two,three,four.When i select one in the first set the radiobutton holding value one in the second set should be disabled.
  I did like </p>
  
  <pre><code> $(document).ready(function () {
              var EValue;
              var MValue;
              EValue = $("input:radio[name=E_message]:checked").val();
              //Could be something like
              Mvalue = $("input:radio[name=M_message]).val();
              if(EValue == MValue){
                $("input:radio[name=M_message]").attr("disabled", "disabled");
              }
   });
  </code></pre>