09-11-2008, 11:57 PM
09-12-2008, 01:43 AM
09-13-2008, 10:57 PM
... in the file? Kind of like how you don't include the start and end tags for CSS when creating an external stylesheet.
09-14-2008, 01:26 AM
No, you don't include the <script> tags at the start of the seperate JS file. As long as you reference the file with:
...all should be fine. Hope this helps.
If you still need to use embedded codes, under an XHTML Doctype you must isolate them inside CDATA islands:
... code here ...
09-14-2008, 09:58 PM
Wow, I never even knew about CDATA. Thanks! I think I'm going to use that.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.