title: loop in jsRender
body: <p>I know <code>{{for}}</code> can loop through a collection. But can I loop based on the total number?</p>
  
  <p>Say, if I have a <code>TotalPage</code> which is an integer, how can I create a paging list like: </p>
  
  <pre><code>{{for (Page=1; Page&lt;=TotalPage; Page++;)}} // I made up this statement.
      {{if Page=CurrentPage}}
          &lt;li class="selected"&gt;{{&gt;Page}}&lt;/li&gt;
      {{else}}
          &lt;li&gt;{{&gt;Page}}&lt;/li&gt;
      {{/if}}
  {{/for}}
  </code></pre>
  
  <p>Is that possible in jsRender?</p>