摘要: 当前网址 http://localhost:8080/exam_paper/402881ec5c3924ec015c394ee4210000/set_questions ajax请求url var url = "exam_questions/json?type=" + type ; 请求之后的网址 阅读全文
posted @ 2017-06-04 17:09 boyanh 阅读(1009) 评论(0) 推荐(0)
摘要: 获取到当前网址 var url = window.location.href; http://localhost:8080/exam_questions?type=3 //获取url中的参数 function getUrlParam(name) { var reg = new RegExp("(^| 阅读全文
posted @ 2017-06-04 13:38 boyanh 阅读(7400) 评论(0) 推荐(0)