jQuery.Behavior helps you organize your JavaScript code into logical chunks called "behaviors". // 1. Create behavior: function BadBehavior(element, config) { this.misbehave = function () { alert('Oh behave!'); } } // 2. Attach behavior: $('.bad-behavior').behavior(BadBehavior); // 3. Use behavior: $('.bad-behavior').behavior('misbehave'); // alert('Oh behave!') You know those web applications tha

