title: cannot add javascript file to cshtml
body: <p>i want to add my customer javascript file to my cshtml</p>
  
  <p>i am working with mvc4</p>
  
  <p>i tried these two ways</p>
  
  <pre><code>@Scripts.Render("~/Scripts/Register.js")
  &lt;script type="text/javascript" src="~/Scripts/Register.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>nothing works.</p>
  
  <p>i want to do this because i want to check for select change.</p>
  
  <pre><code>$(document).ready(function () {
      $('#selectRegisterType').on('change', function () {
          alert("ddddddd");
      });
  });
  </code></pre>
  
  <p>also this is the code of the html</p>
  
  <pre><code>&lt;select id="selectRegisterType"&gt;
      &lt;option value="None"&gt;Select One&lt;/option&gt;
      &lt;option value="tenant"&gt;Tentant&lt;/option&gt;
      &lt;option value="Apartment Owner"&gt;Apartment Owner&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>any help would be appreciated</p>