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>  

Related questions

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