Showing posts with label
methods
.
Show all posts
Showing posts with label
methods
.
Show all posts
Monday, March 4, 2013
Multiple vs Single Method Calls
$("#foo").css("background-color", "red");
$("#foo").css("font-weight", "bold");
// becomes:
$("#foo").css({
"background-color": "red",
"font-weight": "bold"
});
Older Posts
Home
Subscribe to:
Posts (Atom)