Why put javascript in asp.net?

I was asked about JavaScript and not sure about some of the points that I mentioned.

After using ASP.net, I discovered that the term used to handle events is the method that underlies the code.

But in other cases, I found that JavaScript is used on asp.net pages.

My question is that this is being done since the javascript file is an external .js file and can be accessed from anywhere or is there another reason for it?

Thanks for any answer.

+5
source share
2 answers

ASP.NET, .axd(javascript), ASP.NET .

, Javascript , ASP.NET .

ASP.NET Javascript , ASP.NET PostBacks. , Javscript, " " .axd.

, Javascript, Javscript-, Http/Round Trips/PostBacks. foo.js . Javascript HTML-, <script type="javascript"></script>. , , Javascript .

Javascript jQuery . googling , .

+3

Javascript . .

ASP.NET . , , .

, , ( -).

JavaScript , , .

, , . , .

+11

All Articles