I'm re-building a large form containing both input fields and dropdown menus to submit via AJAX once a field has been de-focosued and only if the value has been changed. I have a jQuery selector listening for any changes to the form as below.
$('.settings :input').change(function(field){
I have everything working fine and this fires off the AJAX request when needed however a part of the form toggles a section of the form's visibility.
The snippet above is detecting the show/hide of the sub-fields that are being changed as a change and fires off separate AJAX calls for each field.
Is there an alternative to change that I can use to only fire if the event is of the input's value or a method to detect if the event is a value change?