JS mendapatkan Lenght dari H1

alert("Text length: "+$("h1").text().length);
DevLorenzo