During the web development i encountered with many problems and resolved it but these problems gave me a thought which i want to share and would like to know your view.
Which One is efficient `Class Or ID` : Both has own specification but i think Class is more convenient over ID (if you are dealing with thousands of IDs.)
I know Id is quite efficient for DOM Traversing but what if you have hundreds of elements with IDs, How do you manage ?
Using CLASS : One class can be derived by many elements and the individual elements can be dealt by using `"this" object`.
I am curious to know your view OR how do you handle the project/projects when you have many-many elements with ID or Class name
alert(obj.classname + "We can access any individual element by using Object");