title: Use jQuery to change an HTML tag?
body: <p>Is this possible?</p>
  
  <p>example:</p>
  
  <pre><code>$('a.change').click(function(){
  //code to change p tag to h5 tag
  });
  
  
  &lt;p&gt;Hello!&lt;/p&gt;
  &lt;a id="change"&gt;change&lt;/a&gt;
  </code></pre>
  
  <p>So clicking the change anchor should cause the <code>&lt;p&gt;Hello!&lt;/p&gt;</code> section to change to (as an example) an h5 tag so you'd end up with <code>&lt;h5&gt;Hello!&lt;/h5&gt;</code> after the click.  I realize you can delete the p tag and replace it with an h5, but is there anyway to actually modify an HTML tag?</p>