Check for Any Dirty Form
May 9, 2011
No comments
We are using the dirty form jQuery plugin, dirtyforms. 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;
});

Comments
Leave a comment Trackback