SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot Noodle7's Avatar
    Join Date
    Apr 2005
    Location
    Cape Town - South Africa
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    seperate js file

    Hi

    Is it at all possible to have a js file external that the html pages reference like the external stylesheets?

    so that when I want to make changes to the array I only need to make it in once place instead of all the pages?

    Melissa

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, use the src attribute on the script tag

  3. #3
    SitePoint Zealot Noodle7's Avatar
    Join Date
    Apr 2005
    Location
    Cape Town - South Africa
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your reply !
    Blessings
    Melissa


Bookmarks

Posting Permissions

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