I am trying to use a link from a menu item to call a javaScript function that uses jQuery to place the contents of an HTML file into a given ID within a DIV on a page.
Here is the link that points to the specific DIV and the also the HTML file.
Inline Code Example Here
<a href="" onclick="showLink('./parialContent/displayOne.html', '#mark02')">Display Link</a>
This is the function
function showLink(link, id) {
$(id).html(link);
}
Can you show me what I am doing incorrectly.