I am getting a random error when I attempt to link a javascript file to my web page. It has been a while since I have done any web development. However, I have checked old code and the methods are identical. I am attempting to use jquery for the first time and am not sure if that is effecting the results.
Here is the HTML header:
<!DOCTYPE html >
<html>
<head>
<link rel=stylesheet href=Styles/layoutStyles.css type=text/css>
<meta content=text/html; charset=UTF-8>
<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js”></script>
<script src=”CommonMethods.js” type=text/javascript></script>
<title>Insert title here</title>
</head>
The CommonMethods.js file is the file I am attempting to use. It was initially in a lower directory then the HTML file. However, I moved it to the same directory for testing purposes.
This is the error I get:
GET file:///D:/Users/Thomas.Thomas-TOWER/Dropbox/Workspaces/Eclipse_Web_Develop…nder/WebContent/%C3%A2%E2%82%AC%C2%9DCommonMethods.js%C3%A2%E2%82%AC%C2%9D net::ERR_FILE_NOT_FOUND
I am not sure where the %C3%A2%...ect. symbols came from. I am almost wondering if there is something wrong with the way I defined the charset.
Any suggestions?
I should also mention I am using Eclipse for this project.