title: How to Open a Links in a div tag in same page?
body: <pre><code>&lt;a href="WebForm1.aspx"&gt;Form1&lt;/a&gt;  
  &lt;a href="WebForm2.aspx"&gt;Form2&lt;/a&gt;  
  &lt;a href="WebForm3.aspx"&gt;Form3&lt;/a&gt;   
  &lt;div id="content"&gt; &lt;/div&gt;  ``
  </code></pre>
  
  <p>Here I have three links in my page. If i click the link it will go to the assigned page .Now I want to load this link into my div tag. There are some answers already available but not working. </p>
  
  <p>I have tried doing this (a clarification from comments):</p>
  
  <pre><code>$(document).ready(function () { $('a').on("click", function () {           
     e.preventDefault(); 
     $("#content").load(this.getAttribute('href')); 
  });
  </code></pre>