ASP.NET MVC url的伪装
问题是这样的。
现在我通过jquery +ajax 实现了 无刷新内容显示
但是现在客户说 URL要变 但又不能刷新
原本的URL是http://localhost:6545/Product/Index/language/product/version
现在客户想点击左侧菜单树的节点 URL变成 http://localhost:6545/Product/Index/language/product/version/节点名
但是右侧的内容又不能刷新呈现????
所以就想到了URL的伪装,。。。。。
jquery 代码
$.ajax({
url: "/Article/GetArticle/" + language + "/" + product + "/" + version ,
type: "GET",
contentType: "application/text",
dataType: "text", //others:html,script,json,jsonp,text
data: { link: link },
error: function (xhr, textStatus, errorThrow) { alert("error:" + textStatus + "\n exception:" + errorThrow); },
success:
怎么实现啊??