{hero}

field().node()

Since: Editor 1.3

Get the container node for the field.
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. This method will return the DOM container element for the requested field, allowing standard jQuery / DOM manipulation of the field.

If you require a reference to the field's input element, use the field().input() method rather than this one as it is simpler and more direct.

Note that the node() method provides the same functionality as this method for a single field, and extends that ability to be able to operate with multiple fields if required.