asp.net - when iam using the code window.location.href = "#" in .aspx page then scrolling in is not happening properly in internet explorer -
in asp.net website want disable button 1 content page. so, used below java script code in content page
function changehashonload() { window.location.href += "#"; settimeout("changehashagain()", "50"); } function changehashagain() { window.location.href += "1"; } var storedhash = window.location.hash; window.setinterval(function () { if (window.location.hash != storedhash) { window.location.hash = storedhash; } }, 50); changehashonload();
the above code working correctly in chrome , mozilla firefox, in internet explorer page doesnot scrolling properly. please give solution.
thank you.
Comments
Post a Comment