SO - 18460764

by Arun P Johny

HTML

<div><strong>1954</strong>im the text</div>

JavaScript

jQuery(function(){
    var pageNum = $("div").find('strong').text();
    alert(pageNum)
})