So I have this function that if anything changes in the form, it submits the form via the submit button.
I want to do this, but I want to exclude one element in the form. Its a checkbox with ID of "dogs". If a user checks that, I dont want it to run this function even though it is in the form.

```
$(document).ready(function(){
       $('#MainForm').change(function(){                
           $('#submit').click();
        });
    });

```

I tried this...

```
  $(document).ready(function(){
       $('#MainForm').not("#dogs").change(function(){               
           $('#submit').click();
        });
    });

```

It didn't work though and it still submitted the form when I clicked the checkbox, not sure what to do here.