我用MVC加JQuery做了一个增删改查,为什么页面运行的时候跳转不到AppController里面的GetAppData这个action里面呢?
我们以前做的一个项目可以正常 该引用的都引用了 哪位大哥能告诉我是什么原因啊》?
oTable = $('#example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": '<%= Url.Action("GetAppData", "App") %>',
"iDisplayLength": <%= Uwin.Business.Common.Configuration.DefaultPageSize %>,
"aoColumns": [
{ "asSorting": ["desc", "asc"] },
null,
null,
null,
null,
null,
{ "bSortable": false }
],
"fnDrawCallback": function() {
$(".bookDetail").colorbox({ width: "80%", height: "80%", iframe: true,
//onOpen:function(){ alert('onOpen: colorbox is about to open'); },
//onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
//onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
//onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
onClosed: function() {
RefreshDataTable(oTable);
}
});
}
})
oTable.fnSetFilteringDelay();
});