js获取url参数

js通过 location.search 可判断当前URL是否带有参数

 

posted @ 2017-09-04 17:11  leeseett  阅读(133)  评论(0编辑  收藏  举报