JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
<a id="alvin" href="http://www.camille.com"><ins class="xxx">Anna</ins>apple</a>

JavaScript

var $contents = $('#alvin').contents();

$contents[$contents.length - 1].nodeValue = 'orange';