javascript - jquery change event works on form element - undocumented feature? -


if want handle .change event on form elements, sources recommend this:

$('#form_id :input').change(...) 

but realized following works too:

$('#form_id').change(...) 

but really? tried find feature on jquery api - change if correctly, seems undocumented?

the change event sent element when value changes. event limited <input> elements, <textarea> boxes , <select> elements.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -