Using the [] operator returns the "raw" DOM element. Using eq() function returns a jQuery "wrapped" object.
He wants the DOM element because he's setting the 'disabled' prop.
Using the [] operator returns the "raw" DOM element. Using eq() function returns a jQuery "wrapped" object.
He wants the DOM element because he's setting the 'disabled' prop.