jQuery notes

Selectors

$("p") - all paragraphs

$("div.someClass") - all div tags that have the class named someClass

$("#someId) - selects the element with the ID of someId

Utility functions

$.trim(" some text ")

Starting jQuery code after the DOM is loaded

$(function() {
//...
});

Interesting methods

$("

Test

").insertAfter(someSelector);