JSFiddle - React, Tailwind, and code Playground
HTML
<input blah="hello">
JavaScript
function s()
{
return '<hr/>.prop: ' + $('input').prop('disabled') + '<br/>' +
'.attr: ' + $('input').attr('disabled') + '<br/><hr/>';
};
var html = s();
$('input').prop('disabled', true);
html = html + s();
$('body').html(html);