Tuesday, 12 August 2014

geturlkeyvalue sharepoint undefined

Root Cause: You are missing SharePoint js references.
Ex:
 <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
  <script type="text/javascript" src="/_layouts/15/sp.js"></script>

Add above scripts before you calling "geturlkeyvalue"
Final code: