I am trying to develop a jquery script which will open an iframe containing the webpage when you hover over a table td . I'm basing this on How to show live preview in a small popup of linked page on mouse over on link? , and so on page load I want to turn all urls in the table into the format:
<a href="URL"></a><div class="box"><iframe src="URL" width = "500px" height = "500px"></iframe></div>
However I'm not sure how to build this html with jquery. Can someone help me?