While debugging I got this error in my below part of code..
queryStirngValue = document.referrer.split("myQuryString").split("%").split("253D"); alert(queryStirngValue);
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
You first split on
myQuryString (which by itself is misspelled?)
With  you then want the second array value (because arrays start at 0)
myQuryString is not in the QueryString you now have a
causes: Uncaught TypeError: Cannot read property 'split' of undefined(…)