2011-02-17 56 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 
}