Is is possible to monitor every form element in a form for change?

I tried something like this (and some other variations) to no avail.

$('input,select').change(function(){
    // do something
    alert("You changed something");
});

Why i want to do it:
If a form element is changed i'm going to set a variable for an
autosave to take place.


Cheers

Brendon

PS been using jquery for a week and its actually exciting to know what
is possible.. so damn quickly!.

Reply via email to