If you already have the text:
<h2 class="form-title">Dear Concept Studio</h2>
Then you delete it using this:
var H2 = $("h2"); var H2Length = H2.text().length; $.each(H2.text().split(''), function (i, letter) { setTimeout(function () { console.log(H2.text().substring(0,H2Length-1)); H2.text(H2.text().substring(0,H2Length-1)); H2Length--; }, 500 * i); });
source share