// get element by id
$("#ElementID").whatever();
// get element by css class
$(".ClassName").whatever();
// get elements where id contains a string
$("[id*='value']").whatever();
// get elements where id starts with a string
$("[id^='value']").whatever();
// get elements where id ends with a string
$("[id$='value']").whatever();
// get all elements of certain type (can use "p", "a", "div" - any html tag)
$("div").whatever();