Jquery call using .load not found.
- by Malcolm
Hi,
I am using jquery .load to call an action but it is not found.
This is because the production website url is different to dev url.
function ProjectChange() {
var projid = $("input[name='ProjectLink']:checked").val();
$("#documentList").load("/Home/GetDocumentList/", { page: 0, projectid: projid }, LoadComplete);
}
But i dont want to hard code the url in to the action call.
How do I inject "Url.Content" or something into this please?
Malcolm