// *** Make a single table column editable var sel = jQuery(".namecolumn").makeEditable(colUpdated,{ updatedColor: "green" }); function colUpdated(value, editable) { if (editable.origText == editable.enteredText) return false; showMessage("Updated with: " + value); return true; // update value }
o.wwEditable.jQuery.makeEditable(selector,callback,options)
callback
A callback function that is called when focus is lost from editing.
options
Options that map the properties of the wwEditable object (ie. { updateColor:"green",extraData:"myColumn"} )