jQuery: Writing jquery in an object oriented way
- by anoopkattodi
Hi all,
I am trying to write all my query code in an object oriented way. But I don't know how to implement this for each click function and hover function etc. I also wanted to know:
What are the advantages of writing query in object oriented way?
For query what is better the object oriented way or in the ordinary way?