问题是这样的。
现在我通过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:怎么实现啊??
现在我通过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:怎么实现啊??
解决方案 »
- 帮忙解释下asp.net mvc里的几个类
- using System.Drawing为什么Drawing下面打线色波浪线?
- ASTreeView 1.0发布(一个ASP.NET树控件)
- 关于:DropDownList 绑定到 SqlDataSource 的一个问题
- ASP.NET 制作EXCEL报表出现问题了
- (100分)关于数据库链接的问题
- ExecuteScalar 聚合函数 空值引起的OCI-22060错误
- window.parent.main.location.reload()?id=1 我想给框架中的页面传递参数该怎么半呀?
- 水晶报表服务器端无法显示工具栏图标
- 再次向兄弟姐妹们致敬 再次散分
- ASPX 前端 写 if else 语句
- 关于base64编码的图片
http://localhost:6545/Product/Index/language/product/version#qwueisdhfsdhfskdhfkshfksdjhfksd