Jonathan
08-04-2003, 03:23 PM
How do you call a javascript from another page? like one page would be
javascript.js
then how would i call for it?
javascript.js
then how would i call for it?
|
Click to See Complete Forum and Search --> : Calling Javascript Jonathan 08-04-2003, 03:23 PM How do you call a javascript from another page? like one page would be javascript.js then how would i call for it? pyro 08-04-2003, 03:30 PM <script type="text/javascript" src="javascript.js"></script> elwell 08-04-2003, 03:30 PM put this between the <head> </head> tag: <script language="javascript" type="text/javascript" src="javascript.js"></script> Note: make sure you have the write adress. Jonathan 08-04-2003, 03:32 PM Thanks pyro 08-04-2003, 03:33 PM Note that the language attribute for the script tag has been depreciated, and should no longer be used. The type attribute is what should be used to specify what type of script it is. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |