0
当我尝试检测URL包括hashtag的变化,例如:asp.net的MVC +检测包括hashtag变化
http://localhost:54345/Shop/Catalog?cg=9#3221
到
http://localhost:54345/Shop/Product#1241
jQuery的hashchange方法不火。
$(window).on('hashchange', function (e) {
//....
})
如果目录行动之间的井号标签的更改,然后检测。例如:
http://localhost:54345/Shop/Catalog?cg=9#3221
http://localhost:54345/Shop/Catalog?cg=9#2453
所以我的问题是,包括hashtag检测是不可能的不同请求之间?或不同的ASP.NET MVC操作?