「Email Company」リンクをクリックすると、自分のサイトで次のエラーが表示されます (例は次のとおりです: http://www.expeditionersafaris.com/place/5-day-best-of-both-worlds- kruger-and-private-reserve-tour-wildlife-encounters/ )。
エラーは次のとおりです。
SCRIPT438: オブジェクトはプロパティまたはメソッド 'modal' をサポートしていません post.custom.js、行 56 文字 3
スクリプトは次のとおりです。
jQuery(document).ready(function () {
jQuery('a.b_sendtofriend').click(function (e) {
e.preventDefault();
jQuery('#basic-modal-content').modal({persist:true});
});
jQuery('a.b_claim_listing').click(function (e) {
e.preventDefault();
jQuery('#basic-modal-content4').modal({persist:true});
});
jQuery('a.b_send_inquiry' ).click(function (e) {
e.preventDefault();
jQuery('#basic-modal-content2').modal({persist:true});
});
jQuery('p.links a.a_image_sort').click(function (e) {
e.preventDefault();
jQuery('#basic-modal-content3').modal({persist:true});
});
エラーは jQuery('#basic-modal-content2').modal({persist:true}); を指しています。部分。