I have a div that I want to append a snippet of code into onclick. The problem is that the code doesnt work. I think it has something to do with the onclick and my commenting out attempts using '/'
Here is the jQuery:
$("#content_type_nav").html("<a id='add_content_container' onClick=/"window.location.href='create.php';/"><img id='add_content_icon' src='Site_Images/add_column.PNG'/></a>");
here is the html:
<div data-role="footer" id="content_type_nav" data-position="fixed">
//I want the link to be inserted here
<h1>Show me my...</h1>
</div>