How in jQuery would I add a button directly after an anchor tag? For example, my HTML looks like:
<div style="border-style: solid; border-width: thin; padding: 2px;">
<center>
<a target="_blank" href="http://www.mydomain.com/">MyDomain.com</a>
<b>My Hypertext Link</b>
<br/>
Options:
<a class="theAClass" href="#">Insert button after this anchor</a>
</center>
</div>
I want to add a button just after the anchor (class="theAClass") but before the "center" tag so the button is centered on the page.