Find out the nth element and get the particular string

To get the nth element
  1. $.trim($("#pagerjqxgrid div:nth-child(3)").text()); 
 To get the 1539 from a string of  "1-10 from 1539"
  1. $.trim($("#pagerjqxgrid div:nth-child(3)").text().split('of')[1]);