2011-02-17 15 views
0
$("a#selectUser").fancybox(
     { 
     'autoDimensions' : false, 
     'width'    : 680, 
     'height'   : 495, 
     'transitionIn'  : 'none', 
     'transitionOut'  : 'none', 
     'centerOnScroll' : true, 
     'title'    : 'Select User', 
     'titleShow'   : 'true', 
     'titlePosition'  : 'over', 
     'hideOnOverlayClick':false, 
     'hideOnContentClick':false, 


     'onComplete': function() { 
      $("#fancybox-title").css({'top':'0px', 'bottom':'auto','margin-left':'0px','margin-top': '-25px','width': 'px'}); 
     } 




    }); 

새로운 모달이 열립니다. 여기서는 사용자를 선택합니다. 이제는 모달을 닫은 후 확인하고 싶은 데이터를 얻을 수 있어야합니다. 제발 도와주세요 ...fancybox에서 데이터를 가져 오는 방법

답변

0
'onClosed'  : function() { 
    // your code, example 
    var value = $('.input_checkbox:checked').val(); 
    // and so on 
} 
관련 문제