jquery 跳转,刷新,返回,判断浏览器型号
第一步引入jquery
跳转到其他页面: 第一种方法.$(location).attr('href','1.html')//在需要跳转的地方放入 第二种方法.window.location.href='1.html' 返回上一页: history.back(); 刷新页面: window.location.reload() 获取屏幕的宽度,高度: $(window).height() $(window).width() 判断浏览器型号 window.navigator.userAgent