Well I'm starting with jQuery and I'm wondering what is the difference between writing a function with or without parentheses inside a function. For example if I have the following function:
function test(){
alert("pen pineapple apple pen");
}
This:
$(document).ready(test);
and this:
$(document).ready(test());
both show the same result: "pen pineapple apple pen"