Sys.UI.Behavior getBehaviorByName Method

Gets a Sys.UI.Behavior instance with the specified name property from the specified HTML Document Object Model (DOM) element. This member a static member and can be invoked without creating an instance of the class.

var b = Behavior.getBehaviorByName(element, name);

Term

Definition

element

The Sys.UI.DomElement object to search.

name

The name property of the Behavior instance to look for.

The specified Behavior object, if found; otherwise, null.

Show: