Reputation: 56199
Is in JQuery something similar Class in Mootools ? I need to create one base class Element and then to derive couple specifications of that elements( example Element_1 and Element_2). How to achieve that using JQuery ?
Upvotes: 0
Views: 311
Reputation: 1858
Do you mean OOP with jQuery ? You can't. You can extend jQuery but you can't write your own Classes using jQuery.
You have 3 solutions there:
More infos: OO JQuery and classes
Upvotes: 1