I am using the following code for a php page, while I am receiving this error.
Can someone suggest anything?
I am able to view the source for JS files, when I visit them via links in the view-source: in Chrome..
This is a very small page, while the entire content for this page is as below:
<html>
<head>
<title>Code Library: Localhost Repository</title>
<script type="text/javascript" href="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" href="js/jquery.uniform.min.js"></script>
<script type="text/javascript">
$(function(){
$(function(){ $("select, input:checkbox, input:radio, input:file").uniform(); });
});
</script>
<link rel="stylesheet" href="css/uniform.default.css" type="text/css" media="screen" charset="utf-8" />
</head>
<body>
<form method="post" action="/index.php" class="jqtransform">
<table>
<tr>
<td><label for="title">Code::Title</label></td>
<td><input type="text" name="title" /></td>
</tr>
</table>
<input type="hidden" name="CodeSubmitted" value="Y"/>
<input type="submit" value="Add Code Snippet"/>
</form>
</body>
</html>
You’re using
hrefinstead ofsrcin thescripttags.