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.
jQuery.getScriptで eval が呼び出される前にコードを実行するためのフックはありますか?
のドキュメントから$.getScript():
$.getScript()
これは省略形の Ajax 関数であり、次と同等です。
$.ajax({ url: url, dataType: "script", beforeSend: function ( xhr ) { // code to execute before query } });