function getparams(s){ a = s.match(/[^&?=]*=[^&?=]*/g); r = new Array(); for (i=0; i<a.length; i++) { r[i] = new Array(a[i].match(/[^&?=]*/)[0], a[i].match(/=([^&?]*)/)[0].replace('=', '')); } return(r); }
You need to create an account or log in to post comments to this site.