View Single Post
  #1 (permalink)  
Old November 16th, 2006, 06:54 AM
cyrus67 cyrus67 is offline
Registered User
 
Join Date: Nov 2006
Location: , , United Kingdom.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default external.js not executed

i have the following code placed in an external javascript file but when it's referenced rather than being executed as i hoped it's being displayed. can anyone please tell me why this is?

the code in index.js:

<!-- Hide script
//<![CDATA[
window.location.href="http://www.breakdowncoverandgo.co.uk/index.php"
//]]> End script hiding -->

thanks

Cyrus Tiz



Reply With Quote