2011-01-21 44 views

回答

0

你可以單擊事件寄存器:

$(function() { 
    $('#treeViewId :checkbox').click(function() { 
     // when a checkbox is clicked 
     // fire an AJAX request to some action 
     // and refresh the contents of some div 
     $('#someDiv').load('<%= Url.Action("someaction") %>'); 
    }); 
});