0

I have some javascript that's loading just perfectly at the bottom of my site. I wanted to externalize this aforementioned js, so I'm now linking to the code externally, but now the code breaks and is pointing to an error (not within the js file but the jquery file). What changes when the js is externalized? Are variables retrieved in the same way?

Thanks

2
  • There's very little help that can be given if you don't show some sort of code. However, the first thing I'd check is to make sure you included your document load callback $(function() { ... }); Commented Oct 4, 2010 at 23:32
  • You need to add some details. Commented Oct 4, 2010 at 23:33

2 Answers 2

2

You probably added the <script> tags in the wrong order.

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

Comments

0

you can probably use firebug and see whats happening there. there is net panel which shows whethere that particular js is downloaded propery or not. after that you can see the errors on the console window of firebug to find what exactly is the error.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.