title: How to handle large jQuery code in ASP.NET page
body: <p>I have an ASP.NET web page with around 6000 lines of jQuery and JavaScript code. Not only does it drastically affect the performance of visual studio (it takes 30 seconds just to type a word) but it is now starting to affect the performance if my web page.</p>
  
  <p>My jquery mostly consists of click events and AJAX functions. I am referencing most of my buttons and input fields by their ID.</p>
  
  <p>I am just wondering what is the proper way to handle this amount of jquery code? I have tried to put it in an external .js file, but then i couldn't even get the code to run.</p>
  
  <p>Surely there must be some way to have a large amount of jQuery and JavaScript code in my page without having it affect visual studio and affect my web page so drastically, right? </p>