Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
can anyone help me? I have an HTML file, I would like to link to a remote .js files.
Normally we would do as below:
JavaScript
<head>
<script type="text/javascript" src="javascript/javascript.js"></script>
<link rel="stylesheet" href="../css/css.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>HTML</title>
</head>

However what if I have separate multiple .js file remotely. How should I link to a particular .js file?

Thanks in Advance!!
Posted
Updated 29-Nov-12 22:32pm
v2

1 solution

change "javascript/javascript.js" with http://www.thesite/thefile.js
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900