There is a working function
function ocmenu( p ){ $( "#container2" ).load( "1.html #content" ); } I am trying to transfer the html number of the page "1" using a variable from my own site, but nothing works. Tried through string concatenation - complete vanity.
$( "#container2" ).load( \""\" +p+ ".html" + " " + "#content" + \""\" ); Variable pass through onclick
<p onclick="ocmenu('1')">ClickClack</p>