If I want to handle .change
event on all form elements, some sources recommend this:
$('#form_id :input').change(...)
But I realized the following works too:
$('#form_id').change(...)
But does it really? I tried to find this feature on jQuery API - change but if I look correctly, seems undocumented?
The change event is sent to an element when its value changes. This event is limited to
<input>
elements,<textarea>
boxes and<select>
elements.