title: Executing Javascript after page has loaded
body: <p>I am new to JavaScript and having a slight issue figuring out when events fire. Here is the situation. I am writing an ASP.Net application. In my code behind, in the Page_Load() I have some code. I need this code to execute first. After this code has finished executing, then I need my JavaScript to execute.</p>
  
  <p>Is there an event or something that exists that insures the code will execute in that order?</p>