title: JQuery- creating a table dynamically and adding a anchor tag is not showing anchor as link
body: <p>I am newbie to Jquery.</p>
  
  <p>I have an ajax call that fetches the data and links. I have to show that data in a dynamically created table.  In each table row, i would need to show the url with the anchor tag.</p>
  
  <p>The problem i am facing is:</p>
  
  <p>The add anchor tag is not showing as a link as the anchor tag is dynamically created and the links are not working.</p>
  
  <pre><code>   $('#jsp-data-header').append('&lt;tr&gt;&lt;th colspan="2"&gt;Functionalities of the Resource&lt;/th&gt;&lt;/tr&gt;');
     $('&lt;tr/&gt;').appendTo($('#jsp-data-header'))
          .append($('&lt;th/&gt;').text('JSP files'))
          .append($('&lt;td/&gt;').text("&lt;a href='"+tempurl+"'&gt;"+tempurl+"&lt;/a&gt;")); 
  </code></pre>
  
  <p>How to make this appear as link and clicking on the link shouls take me to the url mentioned.</p>
  
  <p>Please suggest.</p>