I tried to add a text before a image. That image haven’t an default class/id.
The code is like this:
$('.status img').attr('src', 'LINK IMAGE').after('My text');
Edit:
Complete code:
$('.status img').attr('src', 'LINK IMAGE1').after('My text1');
$('.status img').attr('src', 'LINK IMAGE2').after('My text2');
$('.status img').attr('src', 'LINK IMAGE3').after('My text3');
HTML:
JavaScript: