title: External js file is not working
body: <p>I've dragged and dropped <code>.js</code> file in my <code>ASP.NET</code> project and still it is unresponsive while the code is working fine in inline js. I am using VS 2017.</p>
  
  <p>here's my code;</p>
  
  <pre><code>&lt;script src="externaljavascript.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>my input button is;</p>
  
  <pre><code>&lt;input id="Button1" type="button" onclick="isEven()" value="button" /&gt;
  </code></pre>
  
  <p>and my JavaScript code is;</p>
  
  <pre><code>function isEven() {
    var num = document.getElementById('&lt;%=TextBox1.ClientID %&gt;').value;
    if (num % 2 == 0) {
      alert(num + " " + "is even");
    } else {
      alert(num + " " + "is odd");
    }
  }
  </code></pre>