Why put javascript in asp.net?
<p>I have been asked about JavaScript and am unsure on a few points that I mentioned.</p>

<p>After use of ASP.net I have found that the term used for handling events it the code behind method.</p>

<p>But in other cases I have found that JavaScript is used in asp.net pages.</p>

<p>My question is, is this done as the javascript file is an external .js file and could be accessed from any where or is there a different reason for it?</p>

<p>Thanks for any reply's.</p>
