I need to find all form elements inside inside a form and trigger a flag on change in the value. Currently I am using the method below. I am not sure if this works or not. But I
Try this:
$('#form').find(':input').each(function(){ $(this).change(function(){ if( change !== 1 ) change = 1; }); })
Check the doc @:
http://api.jquery.com/input-selector/