두꺼운 상자 안의 버튼을 클릭하여 jquery thickbox를 닫는 방법.버튼 클릭시 thickbox 닫기
JQuery와 :
<script src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/thickbox.js"></script>
<script type="text/javascript"
$('#button').click(function(){
$('#TB_window').fadeOut();
});
</script>
HTML :
<input type="submit" id="button" value="clse" >
나는이 기능을 시도했지만 그 작동하지 않습니다 도와주세요 ....
두꺼운 상자에는 메서드가 내장되어 있습니다. 'tb_remove'는 필요할 때마다이 메소드'tb_remove();를 호출합니다. 그것은 thickbox를 적절하게 닫을 것입니다. 내 대답은 아래에 쓰여져있다. http://stackoverflow.com/a/21216272/1124612 –