Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
var scriptFile = $(tempNode).attr("customJScriptSrc");
これを渡すと、
「参照エラー: 変数が見つかりません: $」</p>
代替方法を教えてください。
このスクリプトを追加します。
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
ドキュメントの上部(JavaScriptコードの前に追加)。
または、ライブラリをダウンロードしてコードで参照します。