JSFiddle - React, Tailwind, and code Playground
HTML
<input type="button" data-title="" value="Hello" title="Half an update" readonly="readonly"></input>
JavaScript
$(function () {
$('input').mouseenter(function () {
$(this).data('title', this.title)
this.title = '';
});
$('input').on('click', function () {
this.title = $(this).data('title');
});
});