Google Answers Logo
View Question
 
Q: How to include a javascript file from within another javascript file ( No Answer,   0 Comments )
Question  
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.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy