jQuery
Stylize the last element in jQuery
Last Updated (Friday, 16 January 2009 02:30) Written by Alex Grande Thursday, 28 August 2008 05:26
Here is how to stylize the border of the last element using jQuery.
$(function() {
$(”li:last-child”).addClass(”last”);
});
You can compare to prototype by going here
| < Prev | Next > |
|---|
Comments (1)
.each
1
Monday, 01 June 2009 20:01
Jewelry
I want to know when I am at the last element in the .each() function.


