だから、私はこれまでjQueryを使ったことがありませんが、Uniformという名前のスクリプトが欲しいのですが、それを動作させることができないようです. Safari デバッガーでは、3 つのエラーが表示されます。
[Error] SyntaxError: Unexpected token '<' (jquery.js, line 1)
[Error] SyntaxError: Unexpected token '<' (jquery.uniform.js, line 1)
[Error] ReferenceError: Can't find variable: $
global code (index.php, line 8)
これが私のindex.phpファイルの始まりです:
<html>
<head>
<title>PattersonCode.ca</title>
<link rel="stylesheet" type="text/css" href="/incls/style.css">
<script src="incls/jquery.js"></script>
<script src="incls/jquery.uniform.js"></script>
<script type="text/javascript">
$(function() {
$("select, input, a.button, button").uniform();
})
</script>
</head>
完全な URL ( http://pattersoncode.ca/incls/uniform.jquery.js )を使用して解決しました