views:

30

answers:

1

Hello, before this I wrote all jquery-code into main fail. Now I want to move it into another js-file. The problem is that it doesn't want work correctly. Here is an error by FireBug:

$ is not defined

$(document).ready(\n

So, as I understand, I have to initialize $-var... But how?

Thanks.

+3  A: 

Include jQuery before the file that uses it.

reko_t
Heh... I have no words :) Thanks.
Ockonal