I am working on sharepoint page. I dont have control html generate. so I am writing jquery for manupulation.
I am trying to change <h3>
to <h1>
. How to do that?
<tr>
<td nowrap="true" valign="top" width="113px" class="ms-formlabel">
<h3 class="ms-standardheader">
<nobr>Thank you</nobr>
</h3>
</td>
I tried this
$('table.ms-formtable > tbody > tr:nth-child(4) td:nth-child(1) h3').replaceWIth(function() {
return $("<h1>", {
"class", this.className,
html: $(this).html();
});
});
But did not work