jQuery - get text of element with .text()

0 votes
276 views
added Mar 30, 2018 in jQuery by LC Marshal Captain (25,790 points)
edited Jul 12, 2019 by LC Marshal
var areaname = $('h1.page-header').text();

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...