2014-11-11 ■ jQuery hrefが未設定のリンクはクリックをキャンセルするコード。コードはこちら $(function() { $('a[href=""]').on('click', function(e){ e.preventDefault(); }); });