Skip to main content

Calling a Script

Sometimes the script might run on a number of web pages on your website. In this case, you can write one script and call it to run when required. In the following example note that the file with the script has been saved with the extension .js:

   <head><script src="test.js"></script></head>

Next: Visual Basic Script (VBScript)