开发者

Handling browser's back button with jsonp

开发者 https://www.devze.com 2023-01-11 05:25 出处:网络
I see quite a lot of History plugin for jquery but Im not quite sure which one of them supports JsonP (json with padding)? Do you guys know of a plugin where it can handle the Back button and JsonP re

I see quite a lot of History plugin for jquery but Im not quite sure which one of them supports JsonP (json with padding)? Do you guys know of a plugin where it can handle the Back button and JsonP requests开发者_开发技巧? Thanks!


Maybe u should add to the document.location the page number like this /articles/pages/#10 with adding to a html href="#10" and you will get navigation with back, also after page load you should parse document.location and refresh page content(send jsonp req for it) for page number in url.

0

精彩评论

暂无评论...
验证码 换一张
取 消