title: window.location not working
body: <p>I have a problem in JQuery and I am trying to make a page that will redirect to another page after choosing what type of loan using a radio button.  Unfortunately, <code>window.location</code> is not working.</p>
  
  <pre><code>  &lt;script src="js/jquery-1.7.2.min.js"&gt;&lt;/script&gt;
    &lt;script&gt;
       $(document).ready(function () {
         $('#apply_but').click(function () {
           var rad_but = $('input[@name="loan_type"]:checked');
           if($(rad_but).val() == "loan_business_corp"){
              $(location).attr('href','sss_pension_loan_step5.php');
           }
           else if($(rad_but).val() == "loan_business_sol"){
             alert("lol");
           }
         });
       });
    &lt;/script&gt;
  </code></pre>