JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" value="original" />

JavaScript

$('input').change(function(){
    alert('The attr(): value is '+ $(this).attr('value'));
    alert('The prop(): value is '+ $(this).prop('value'));
});