JSFiddle - React, Tailwind, and code Playground
HTML
<div >
<input type="text" id="money" value="101" />
</div>
JavaScript
alert( $('#money').val() );
$('#money').attr('value',3000);
alert( $('#money').val() );
alert( $('#money').parent().html() ); //should be 3000, gives 101