Expert JavaScript Developer Question:

Download Job Interview Questions and Answers PDF

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

Expert JavaScript Developer Interview Question
Expert JavaScript Developer Interview Question

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 Expert JavaScript Developer Interview Questions And Answers PDF

Previous QuestionNext Question
How to set focus in an element using Javascript?Can you please explain the difference between alert box and a confirmation box?