You can do with either:
$('.stbuttontext').text('Share');
for textual content or
$('.stbuttontext').html('Share');
for html contents.
In your case however, the first statement should be fine 🙂
You can do with either:
$('.stbuttontext').text('Share');
for textual content or
$('.stbuttontext').html('Share');
for html contents.
In your case however, the first statement should be fine 🙂