JSFiddle - React, Tailwind, and code Playground

by Tushar Jadhav

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');