domain: client
language: javascript
class Item class
Use edit_form
attribute to get access to a Jquery object representing the
edit form of the item.
It is created by the create_edit_form method.
The
close_edit_form
method sets the edit_form
value to undefined.
In the following example the button defined in the item edit html template is assigned a click event:
item.edit_form.find("#ok-btn").on('click.task',
function() {
item.apply_record();
}
);