title: Jquery variable not defined error
body: <p>I use the following jquery statements but i get error in this</p>
  
  <pre><code>function onGetDataSuccess(result) {
  Iteratejsondata(result);
  $(document).ready(function() {
      $("#pager").pager({ pagenumber: 1, pagecount: 5, buttonClickCallback: PageClick });
  });
  
  PageClick = function(pageclickednumber) {
      $("#pager").pager({ pagenumber: pageclickednumber, pagecount: 15, buttonClickCallback: PageClick });
      $("#ResultsDiv").html("Clicked Page " + pageclickednumber);
           }
      }         
  }
  </code></pre>
  
  <p><strong>Error:</strong><code>PageClick</code> is not defined....</p>