JQuery页面跳转

来源:互联网 发布:手机怎么收藏淘宝店铺 编辑:程序博客网 时间:2024/06/04 19:14
var localUrl = '${pageContext.request.contextPath}';var _add =  localUrl +"/plugins/sqm/servicemode/servicemodelAdd.jsp"function openAddForm(){//跳转的地址    document.location=_add; }

htm:

<a href="javascript:openAddForm()" class="easyui-linkbutton"style="margin-bottom: -40px;" id="xz" iconCls="icon-add">Add</a>
原创粉丝点击