in JavaScript by
Q:
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>  

Related questions and answers

0 votes
asked Sep 18, 2021 in JavaScript by sharadyadav1986
0 votes
asked Jun 21 in Consul by john ganales
0 votes
asked Jun 9 in JavaScript by sharadyadav1986
...