{hero}

node()

Since: Editor 1.0

Get the container node for one or more fields.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

When working with forms, you often want to interact directly with the form elements - for example, listening for a change event to take some action on update. This method will return the DOM element for the requested field, allowing standard jQuery / DOM manipulation of the field.

Note that the field().node() method introduced in Editor 1.3 provides the same functionality as this method for a single field, although this method extends that ability by being able to operate on multiple fields at the same time.