Wednesday, March 27, 2013

two ways of using jQuery eq() selector : note that eq selector is not there in CSS, it is a javascript extension. eq() method call is perfwise better in modern browsers

eq() selector is not a part of CSS specification
for better performance in modern browsers, use .eq() method instead.

<script src="//">

<div>Messages will be displayed on clicking bbb,ddd, and eee above</div>

No comments:

Post a Comment