JSFiddle - React, Tailwind, and code Playground
HTML
<div class="left booktext">ARRIVAL
<div class="bookborder">
<input type="hidden" name="checkin" value="2014-03-05" />
<input type="text" class="bookfields hasDatepicker" style="width:65px;" id="checkin-select" placeholder="dd/mm/yyyy" />
</div>
</div>
JavaScript
$('.left').contents().first().replaceWith("New Text");