I want to set the title attribute of an element with some html. For eg:
<div id="element"></div>
$("#element").title = $("#menu");
where
<div id="menu">
<a href="www.website.com">Link</a>
</div>
This does not render the menu in the title. Can this be done?