add .js file as source in html file from server
- by zeeshan
I have an HTML file on my server, and a Javascript file on the same server. I want it so that when I load the HTML file, it will the reference of .js file placed on the server.
I tried this way:
<html>
<head>
<script type="text/javascript src="...server side path...."></script>
</head>
</html>
but it is not working. Can any one tell me how I can do this?