Click this paragraph. This is an example when you do use ready. The script being loaded is:

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

It works when above the "test" element because it waits for DOM ready.