Compare the editing data with the original data, if something is changed then enable the saving button.
$('#ff').form({
originalData: $('#ff').serialize(),
onLoadSuccess: function(data){
var opts = $(this).form('options');
opts.originalData = $(this).serialize();
},
onChange: function () {
var opts = $(this).form('options');
var data = $(this).serialize();
var dirty = data != opts.originalData;
if (dirty){
// enable button
}
}
})