Stylize the last element in jQuery
Here is how to stylize the border of the last element using jQuery.
$(document).ready(function() {
$("table.innercart tr:last").css("border", "none");
});
You can compare to prototype by going hereLabels: javascript, jquery
Here is how to stylize the border of the last element using jQuery.
$(document).ready(function() { $("table.innercart tr:last").css("border", "none"); });You can compare to prototype by going here
Labels: javascript, jquery
2 Comments:
Can be shortened to:
$(function() {
$("table.innercart tr:last").css("border", "none");
});
This is true if you do not need to load this script before the dom is fully loaded.
Post a Comment
Subscribe to Post Comments [Atom]
<< Home