1.获取后边的参数名称<script type="text/javascript"> var url = location.search; //获取url中"?"符后的字串 ,包括? console.log(url); function GetRequest() { var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if(url.ind
if (result.success) { var obj = JSON.parse(result.data); var sltObj = document.getElementById("selUser"); //获取select对象 for (var i = 0; i < obj.length; i++) { var optionObj = document.createElement("option"); //创建option对象 optionObj.v