jQuery - Add element after characters

0 votes
162 views
added Jul 10, 2019 in jQuery by LC Marshal Captain (25,790 points)
$(contentPara0).each(function() {
    var countPara0 = $(this).text().length;

    if(countPara0 > 200){
      //do this
    };
});

 

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