<jQuery>(<selector>).scf.behavior(String name, Object options)
Release 1.1 - ...
Usage:
Javascript | Copy Code |
---|---|
// add to the DOM-loaded event handler... $j(function(){ $j(".email").scf.behavior("eMail"); // attach the eMail behavior to all inputs with the CSS class 'email' }); |
Notes
Use the static behavior.add() method to create a behavior.
Behaviors can be auto-attached by using the autoAttach property.