<li class="active"><a οnclick="GotoPartView('Index', 'Home')"><i class=""></i>哈哈哈哈</a></li>
function
GotoPartView(actionname,controllerName) {
var
url =
"/"
+ controllerName +
"/"
+actionname;
$.ajax({
type:
"post"
,
url:url,
success:
function
(data) {
//获取到数据后在右侧Content下显示分部视图
$(
'#bodycontent'
).html(data);
}
});
}