Jump to content

inserting external file


real_illusions

Recommended Posts

real_illusions,The most common mistake is that a set of "script" tags is included in the external file.Make an external file like(test.js):

alert('Our file just loaded..');

Put this inside your head or body tags:

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

The next most common mistake is not having a valid path to the external file.Thanks,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...