$ (document). ready (function () { window.onhashchange = function () { loadHash (window.location.hash); } }); loadHash function (stHash) { alert (stHash); stUrl var = ""; stParam var = ""; if (stHash.indexOf ('/')> = 0) { stHash.substring stUrl = (1, stHash.indexOf ('/')); stParam = stHash.substring (stHash.indexOf ('/') + 1) Goto (stUrl +. "aspx?" + stParam); Else {} stUrl = stHash; Goto (stUrl +. "aspx"); } }
changeHash function (stHash) { isChangeHash = false; window.location.hash = stHash; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)