jQueryを読み込んでいるため、 エラーは発生せず、アラートが表示されます
jQuery.jsが読み込まれていればalertを表示。
if(typeof jQuery != "undefined"){ //jQueryの読み込み確認 $(function(){ alert('jQuery is ready.') }); }