title: How to scroll to bottom of the ul?
body: <p>I have developed one application using PhoneGap. In my application I have displayed a number of elements in a listview using <code>ui</code> <code>li</code>. Here I want to scroll to the last element in list. For that i have used following code,</p>
  
  <pre><code>$('#dates li').last().addClass('active-li').focus();
  $('#dates li').last().focus();
  </code></pre>
  
  <p>I have used this one also,</p>
  
  <pre><code>$('#dates').scrollTop($('#dates li:nth-child(14)').position().top);;
  </code></pre>
  
  <p>extra class is adding but focus is not working.</p>