0

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.

1 Answer 1

3

Include jQuery before the file that uses it.

Sign up to request clarification or add additional context in comments.

1 Comment

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.