$("p")
references all paragraphs on the current web page. Is it possible to execute code for each element that matched the selector?
Here's a simplistic example in pseudo-code:
// Show the background color of every paragraph on the page
foreach (object = $("p")) {
alert(object.css("background-color"));
}