Calling functions

Calling functions

Hi, 

I'm super new at jquery and seem to be having a lot of problems understanding the syntax. How do I call a predefined function? It seems like it should be super simple, but it doesn't seem to work. 

If I embed the function in the handler call, it works fine, but I when I try to call it from there, it doesn't work. Am I missing something?

  1. $(document).ready(runthis()); 

Assuming that function runthis() is already a defined function, is this improper syntax?

Thanks!