title: How to have jQuery code execute after DOM is completely loaded
body: <p>I am using asp.net MVC 5 and trying to get jQuery alert message when a form completely loads all its content. I have the following code that executes successfully and displays alert that time when a form has nothing displayed and totally blank, thanks</p>
  
  <pre><code>&lt;script&gt;
     alert("Registered Successfully");
  &lt;/script&gt;
  </code></pre>