<div class="left-nav">
<div id="side-nav">
<ul id="nav">
</ul>
</div>
</div>
<script src="~/Scripts/jquery-1.8.2.js"></script>
<script type="text/javascript">
$(function () {
$.ajax({
type: "POST",
url: "/Main/LoadMenu",
success: function (data) {
$("#nav").html(data);
},
error: function (data) {
alert(22);
alert(data);
}
});
});
</script>