本文主要是介绍My97日历控件点击会返回前一个页面,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
My97DatePicker控件点击会返回前一个页面解决方法:
在calendar.js里面找到:
//由于点日历控件的时候 会提示挑战到历史前一页 注释history.go(-1)就行了 agan 2012-12-1 9:53
function My97DatePicker(){if(parent==window)return;
if(navigator.product!='Gecko'){
if(location.href.substring(location.href.length-3).toLowerCase()=='#97'){location.replace(location.href.substring(0,location.href.length-3));
return;}
else{location.replace(location.href+"#97");}
//history.go(-1);
}
这篇关于My97日历控件点击会返回前一个页面的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!