JSFiddle - React, Tailwind, and code Playground
HTML
<div id="container">
<input name="test" />
</div>
JavaScript
jQuery.fn.disable = function () {
return this.each(function () {
console.log('disable');
});
};
$('#container').find('input')
.disable()
.end()
.html('zzz');