0 votes
in JavaScript by
How to use external JavaScript file?

1 Answer

0 votes
by

I am assuming that js file name is message.js, place the following script tag inside the head tag.

  1. // <script type="text/javascript" src="message.js"></script>  
...