getDirtyValues

returns hash of changed values

object getDirtyValues();

Returns

objecthash of changed values

Example

var changed = $$("form").getDirtyValues();
if (change.name)
    alert("New name: "+changed.name);

Back to top