私のjqueryスクリプトのリファレンスは次のとおりです。
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js" type="text/javascript"></script>
Chrome バージョン 23.0.1271.64 m を使用しています - 338 行目でエラーが発生します
})( jQuery ); //--> line 338 is highlighted
これは私にとって1番目であり、答えを探しています。
API の使用方法と簡単な Web ページの作成方法を学習中です。
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
<meta http-equiv="PRAGMA" content="NO-CACHE" />
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$( "#edit-user" )
.button()
.click(function() {
$( "#dialog-form" ).dialog( "open" );
});
});
</script>
</head>
<body>
<button id="edit-user">Edit User</button>
<div id="dialog-form" title="Radio Dialog">
<form>
<fieldset>
<input type='radio' value='A' name='myRadio'>A
<input type='radio' value='B' name='myRadio'>B
<input type='radio' value='C' name='myRadio'>C
</fieldset>
</form>
</div>
</body>
</html>