The Problem You want to enable or disable an input using j Query. The Solution You can disable an input using the j Query .attr() method to set the value of an input’s disabled attribute.