View Full Version : "Outsourcing"
08-19-2002, 06:46 AM
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?
08-19-2002, 09:29 AM
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.
08-19-2002, 10:00 AM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.