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