Basic JavaScript Question:
Download Questions PDF

How to access an external JavaScript file that is stored externally and not embedded?

Answer:

This can be achieved by using the following tag between head tags or between body tags.
<script src="abc.js"></script>How to access an external JavaScript file that is stored externally and not embedded? where abc.js is the external JavaScript file to be accessed.

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
How to set the focus in an element using Javascript?What is the difference between an alert box and a confirmation box?