Posts by Lucas Reis • 11 points
1 post
-
1
votes2
answers346
viewsA: Add class Dynamically
You can use the method $.done of jQuery. When the plugin is generated there yes you call your addClass(). Example: var dfd = $.Deferred(); dfd.done( [ fn1, fn2 ], fn3, [ fn2, fn1 ] ) Where fn’s are…
jqueryanswered Lucas Reis 11