Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript disappears after saving file

    The javascript link in my <head> file disappears after I save my file so my javascript menu is not showing up on my page.

    I am trying to add a javascript menu to a blog template. I dont know what the problem is

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,910
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Are you sure that the syntax, spelling and capitalisation are exactly correct?

    <script type="text/javascript" src="yourjsfile.js"></script>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •