I’m trying with jQuery show part of the site, in this example text of menu. I write this code:
<html>
<head>
<style>
body{ font-size: 12px; font-family: Arial; }
#new-nav{width: auto; height: 200px;}
</style>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<b>Menu:</b>
<ol id="new-nav"></ol>
<script>
$("#new-nav").load("http://site.com/ #hmenus");
</script>
</body>
</html>
code syntax is correct, but code not work, not showing text.
You cannot load content from another domain due to security concerns.
See: http://en.wikipedia.org/wiki/Same_origin_policy
You can verify this by looking in your browsers console window.
Also why do you have #hmenus” at the end of the your URL.