0
所以蔭全光照的JTable,我需要添加一列,並在我的行動該列調用想要的是在另一個控制器顯示一個新視圖我誰可以打電話到HTTPGET操作方法與jQuery爲紐帶
在JTable中
TestColumn: {
title: 'IrRuta',
display: function (data) {
var foo = '<a href="http://www.w3schools.com/">Visit W3Schools</a>';
return foo;
}
添加一列,我需要做這樣的,但它應該叫我的行動
[HttpGet]
public ActionResult Index(int? id)
{
//todo
}
我想這樣的,但沒有奏效
var foo = '@Html.ActionLink("ruta", "Index", "Ruta") ';
var foo = '@Url.Action("Index", "Ruta")';