The @photo.Image has an image name.
How to attach some Model variable as part of @Url.Content path in ASP .NET MVC 3?
<a href="@Url.Content("~/images/????)"> @photo.Title</a>
Thanks!!!
Try replacement:
function GetTabInfo(controllerAction, clientInfoid, stepId)
{
alert(controllerAction);
var url = '@Url.Content("~/xxx")/?clientInfoid=' + clientInfoid + '&stepId=' + stepId;
url = url.replace("xxx", controllerAction);
alert(url);
$.get(url, null, function (result) {
// alert(result);
$(targetDiv).html(result);
});
}