Gets the text field at the current text input position or the text field with the specified id.

<void> TextFieldCollection.getItem(<RequestTextFieldCallback> callback, [<ErrorCallback> errorCallback], [<number> id])


Parameter Description
callback The callback function that receives the requested value.
errorCallback Optional. Is called when the operation failed with an error.
id Optional. Specifies the text field's identifier set with the ID property. The method returns null if a text field with the specified identifier does not exist.