清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content= "text/html; charset=UTF-8"> <title>获取URL参数</title> <script type="text/javascript"> function getArgs(){ var params = window.location.href; var argsIndex = params.indexOf("?"); var argsstr = params.substring(argsIndex + 1); args = argsstr.split("&"); for (var i = 0; i < args.length; i++) { alert(args[i]); } } </script> </head> <body onload="getArgs()"> </body> </html>