Attaches the given behavior to the given jQuery selector.
Syntax
Smartsite SXML | Copy Code |
---|---|
scf.behavior.attach(string selector, string behaviorName) scf.behavior.attach(string selector, string behaviorName, any[ ] settings) |
Parameters
Name | Data Type | Description |
---|---|---|
selector | String | The jQuery selector. |
behaviorName | String | Name of the behavior. |
settings | Any[ ] | The behavior settings. |
Return Value
None.