Click this paragraph. This is an example when you don't use ready, make sure you put the script after the element (just before the closing </body> tag is good). The script being loaded is:

$("#test").click(function() { alert("Clicked!"); });

That wouldn't work if the script tag were above the "test" element.