- Initiate hURL just by adding
$.hurl();
- Update the hash URL with data queries, ex.
$.hurl("update", {"id": 15765});
- Get the latest link by requesting
$("body").data("hurl").link
- Update your page when the hash gets updated by using monitor:true and setting up an event listener, like this:
$("body").bind('hurl', function(event) {
// do something...});
imclab / jquery-hurl Goto Github PK
View Code? Open in Web Editor NEWThis project forked from makesites/jquery-hurl
jQuery plugin that helps AJAX apps interact with hash URLs
Home Page: http://plugins.jquery.com/hurl