과 colorbox를 닫습니다. 은 어떻게 colorbox은 iframe을 사용하여 버튼
<input type="button" id="selected" value="the_button" />
하고 스크립트
$(document).ready(function() {
$("#selected").bind('click',function() {
window.setTimeout(function()
{
$.colorbox.close();
}, 2500);
alert('hi');
});
});
감사합니다, @Ares을하지만, 나는이 시도하고 도움이되지 않습니다 – onlinepch
"parent.jQuery.colorbox.close(); false를 반환합니다." 및 "alert ('hi');" 그것은 바로 보여줍니다, 오류 없습니다. – onlinepch
# 선택한 HTML 태그는 무엇입니까? – Ares