文章分类 -  javascript

摘要:非常实用的js判断手机端操作系统(Andorid/IOS),并自动跳转相应下载界面 androidURL = "http://xxx/xxx.apk"; var browser = { versions: function() { var u = navigator.userAgent, app = 阅读全文
posted @ 2017-03-23 12:00 小小滴白 阅读(469) 评论(0) 推荐(0)
摘要:返回上一页 back会保留表单内容,go不会保留内容 <input type=button value=刷新 onclick="window.location.reload()"><input type=button value=前进 onclick="window.history.go(1)">< 阅读全文
posted @ 2017-03-12 17:04 小小滴白 阅读(176) 评论(0) 推荐(0)