Hi, I would like to know if I can do something like this in ASP.NET, because they know something like that I need to do, please do not eat me if it's a bad question, I see it more as a challenge: 3
var idt = 2;
function detailTry(idt) {
alert(
'@Html.ActionLink("Check Request", "Details", "Request", new { id = idt })'
);
}
It says that idt does not exist when I pass it, no matter what I do, in my case I get it from another function.