Does jQuery or JavaScript have the concept of classes and objects?
Posted
by Prashant
on Stack Overflow
See other posts from Stack Overflow
or by Prashant
Published on 2009-07-02T11:35:37Z
Indexed on
2010/04/24
0:43 UTC
Read the original article
Hit count: 295
I found the following code somewhere, but I am not understanding the code properly.
ArticleVote.submitVote('no');return false;
Is ArticleVote
a class and submitVote()
a function of that class?
Or what does the above code mean? And is there any concept of classes and objects in jQuery or in traditional JavaScript? How to create them? Please share some reference links or code.
© Stack Overflow or respective owner