Which selector has better performance id or class and why?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More jQuery Interview Questions

Which one is more efficient, document.getElementbyId( "myId") or $("#myId)?

0 Answers  


How does jquery store data related to an element?

0 Answers  


Suppose if you have a server control(asp.net server control, button) and on the click of button you want to call a jquery function, so tell me how you will call a jquery function without postback?

0 Answers  


Difference between find() and closest() in jquery?

0 Answers  


What is the purpose of fadetoggle() method in jquery?

0 Answers  


What is a CDN?

1 Answers  


Why is the block display style used for animations?

0 Answers  


What is the difference between settimeout() and setinterval() methods?

0 Answers  


What are the slow selectors in jQuery?

1 Answers  


Is jquery a framework?

0 Answers  


differentiate between bind() vs live() vs delegate() methods in jquery.

0 Answers  


What is jquery selectors?

0 Answers  


Categories