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 3 of 3

Thread: "Outsourcing"

  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Hikone, Japan
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post "Outsourcing"

    I have a script that has an enormous array in it, and I would like to save it independently and be able to access it from many files via a form submission. But because it is so long, and will likely be modified, I don't want to include it in every single page. How can I do this?

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    Iran
    Posts
    695
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can save your array in an external js file, then you can use it whenever you like, we had the same question about a month ago and it was solved, luckily I saved the document at my home's comp, so, write a reply that I can find this page from my home's comp.

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Hikone, Japan
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the help ... I had guessed that you could access the code as a .js file, but wasn't sure. I'll look through the old threads to see if I can find the solution ... found it.
    Last edited by peregrine; 08-19-2002 at 11:08 AM.


  •  

    Posting Permissions

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