1 局部刷新跳转
var Jroot = "<%=request.getContextPath()%>/";
$('#pp').panel('refresh',
Jroot + "menu/menuAddView.action");
2 带参数的直接跳转
function appendit(){
var node =$('#tt1').tree('getSelected');
alert(node.id);
/* $('#pp').panel('refresh',
Jroot + "menu/menuAddView.action?superMenuId=" + node.id); */
window.location.href='${base}/menu/menuAddView.action?superMenuId=' + node.id;
}
3 按钮形式的跳转
<input name="pclog" type="button" value="GO" onClick="location.href='xxx'">
4 在新窗口中打开
<a href="javascript:" onClick="window.open('login.aspx','','height=500,width=611,scrollbars=yes,status=yes')">开新窗口</a>