mshd.net
当前位置:首页 >> JS中如何设置winDow.opEn(xx.jsp)在原页面打开新地址 >>

JS中如何设置winDow.opEn(xx.jsp)在原页面打开新地址

window.location.href=xx.jsp

jsp页面中调用javascript方法,可以直接写在标签的onclick属性,如下示例: var startTop = 120; var startPos = 1; var totalNum = 0; var itemHeight = 40; var con1 = ''; function updateHtml(type, type2) { totalNum = window.programList...

网站首页 | 网站地图
All rights reserved Powered by www.mshd.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com