var href = document.URL;
href = decodeURI(href);
var oText1 = href.split("=")[1];
eg: a.html
local.href = 'www.aaa.com/index.php?a=1';
b.html
var href = document.URL;
href = decodeURI(href);
var oText1 = href.split("=")[1];
/ /Using the above code, oText1 = 1;
Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.