自分が間違っていることを見つけることができません
jQueryカラーボックスを使用しています
<a title="Add Externaal attendee" class ="addmeetingroom" href="http://webfaction/UI/user/attandee.php" style="background-color:orange;text-align:center;text-decoration:none;"> Add Attendee<a>
ここにカラーボックスのスクリプトがあります
<script>
function getLBTitle(that){
title= $(that).data("title");
if(typeof title == 'undefined'){
title = $(that).attr("original-title")
}
if(typeof title == 'undefined'){
title = $(that).attr("title")
}
return title;
}
$(".addmeetingroom").colorbox({width: "600", initialWidth: "500", height:"500", top:"5%",title:function(){return getLBTitle($(this));}});
</script>
なんで受かるのかわからない
TypeError: $(".addmeetingroom").colorbox is not a function