Can a single javascript file be used by multiple html files?

Posted by Prashant Dubey on Stack Overflow See other posts from Stack Overflow or by Prashant Dubey
Published on 2010-04-07T09:49:05Z Indexed on 2010/04/07 9:53 UTC
Read the original article Hit count: 442

Filed under:
|

Hi friends, I have a javascript file main.js and five html files 1.html,2.html,3.html,4.html,5.html I want to access the javascript file main.as in all files . I have used in all of the five but I'm not able to access it . Is it possible to share the .js file among the html files.

Plz reply,

Thanks in advance

Prashant Dubey

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html