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