title: Get Offset Bing API for pagination
body: <p>I have a script which allows to display videoresults with the Bing API: <a href="http://jsfiddle.net/aHCT5/4/" rel="nofollow">JsFiddle Example</a></p>
  
  <p>In the very top of the script you will see this code: </p>
  
  <pre><code>var VideoOffset = "Video.Offset=0";
  </code></pre>
  
  <p>This is an indication of how far in the (total)results the query should take place. So if I have <code>video.Count=10</code> with Offset=2, it will show the second 10 (which is 10 to 20). </p>
  
  <p>With this I can do a pagination, so I have this code to do the Offset:</p>
  
  <pre><code>$(".page2").live('click', function(e){
  
  VideoOffset = "Video.Offset=" + $(this).text();
  
  var wer = $('#searchbox3').val();
  doSearch(wer); 
  
  });
  </code></pre>
  
  <p>It doesn't work and I have no idea of what I'm doing wrong.</p>