Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

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.

Syntax

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.

Return Value

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