SoFunction
Updated on 2025-02-28

js get variables

function querystring(qs){
s=;
s=("?","?&").split("&");
re="";
for(i=1;i<;i++){
if(s[i].indexOf(qs+"=")==0){
  re=s[i].replace(qs+"=","");
  }
}
  return re;
}
Very good to get the passed variables