![]()  | 
  | 
  | 
| Subject:
How to include a javascript file from within another javascript file
 Category: Computers > Programming Asked by: vladkornea-ga List Price: $6.00  | 
Posted:
22 May 2006 07:31 PDT
 Expires: 22 May 2006 12:19 PDT Question ID: 731265  | 
utilities.js contains functions used by various other scripts, primarily in order to handle cross-browser compatibility issues easier. Currently in order to give my scripts access to those utility functions, I need to include utilities.js from within the HTML. I would like to instead include utilities.js from within the script which actually relies on utilities.js. Essentially, I am looking for a javascript equivalent of PHP's include() function. It must work in all browsers.  | 
  | 
| There is no answer at this time. | 
  | 
| There are no comments at this time. | 
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.  | 
| Search Google Answers for | 
| Google Home - Answers FAQ - Terms of Service - Privacy Policy |