Is there any example code for something like that (and somehow changing the URL without forcing a reload, with no #)? Is it using HTML5 to replace history?
They explain how they do this in their blog post and yes, it uses the HTML5 History API.
They even show you exactly how it's done in their jquery-pjax project.
Also, you can get example code for anything you see on the web via view source, finding the Javascript file, and then if it's minified passing it through something like http://jsbeautifier.org/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With