Rediger

Del via


addOnLookupTagClick (Client API reference)

Adds an event handler to the OnLookupTagClick event.

Control types supported

Lookup

Syntax

formContext.getControl(arg).addOnLookupTagClick(myFunction);

Parameter

Name Type Required Description
myFunction Function reference Yes The function to add to the OnLookupTagClick event. The execution context is automatically passed as the first parameter to this function along with eventArgs that contain the tag value.

You should use a reference to a named function rather than an anonymous function if you later want to remove the event handler.

removeOnLookupTagClick
OnLookupTagClick event