如何通过js获取请求URL中传入的参数?
- 内容介绍
- 文章标签
- 相关推荐
本文共计40个文字,预计阅读时间需要1分钟。
python简化修改伪原创开头内容,不超过100字url请求:http://localhost:8080/add.do?1获取变量:type=location.href.split('?', 1)[1]
gistfile1.txturl请求:localhost:8080/add.do?1 js获取 var type=location.href.split('?')[1]
本文共计40个文字,预计阅读时间需要1分钟。
python简化修改伪原创开头内容,不超过100字url请求:http://localhost:8080/add.do?1获取变量:type=location.href.split('?', 1)[1]
gistfile1.txturl请求:localhost:8080/add.do?1 js获取 var type=location.href.split('?')[1]

