HTML is
<a>ref</a>
I need to get
<a>ref</a>text
How can i do this? $('a').append('text') only insert text into <a></a>, not after it
HTML is
<a>ref</a>
I need to get
<a>ref</a>text
How can i do this? $('a').append('text') only insert text into <a></a>, not after it
Use after or insertAfter:
$('a').after('text');
$('text').insertAfter('a');