We are using the dirty form jQuery plugin, .  It works well, except there are a few times when we would like to know if there is anything dirty on the page.  The documentation says to use a function, however that function is not available or working or …

I have been using:

var anyDirty = false;
$('form').each(function() {
if ($(this).are_dirty())
anyDirty = true;