js从url截取参数(简写)

var id = window.location.search.split("=")[1];
原文地址:https://www.cnblogs.com/alives/p/13071424.html