I have the following HTML structure being returned from an AJAX request...
<th scope="col" style="yada,yada,yada">
<a href="javascript:funcName();" style="yada,yada,yada">
Test<br />Heading</a></th>
<th scope="col" style="yada,yada,yada">
<a href="javascript:funcName2();" style="yada,yada,yada">
Test<br />Heading2</a></th>
And I want to manipulate this so that the end result is...
<th>Test<br />Heading</th>
<th>Test<br />Heading2</th>
I basically want to remove the inline styles, and extract the text from the hyperlink. How can I do this easily with jQuery?