Check div or any tag has html or not in jQuery by Unknown on 02:24 Check div or any tag has html or not <div id="box3"> </div>$(document).ready(function(){ if ($("#box3").text().length > 0) { console.log('not empty'); } else{ console.log('empty'); } }); Tweet Share Share Share Share
0 comments: