Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
D
 deparam, jQuery
 Deparam(from string)
E
 Element manipulation
 elemUrlAttr, jQuery
 Events
 Examples
F
 Files
 fragment
 fragment(build url), jQuery.param
 Functions
G
 getState, jQuery.bbq
H
 hashchange event
 hashchange event(BBQ)
 hashchangeDelay, jQuery
 History,hashchange event
J
 jQuery BBQ:Back Button&Query Library
 jQuery hashchange event
K
 Known issues
L
 License
N
 noEscape, jQuery.param.fragment
P
 Param(to string)
 Properties
 pushState, jQuery.bbq
Q
 querystring
 querystring(build url), jQuery.param
R
 Release History
 removeState, jQuery.bbq
S
 Support and Testing
Deserialize a params string into an object, optionally coercing numbers, booleans, null and undefined values; this method is the counterpart to the internal jQuery.param method.
Get the internal “Default URL attribute per tag” list, or augment the list with additional tag-attribute pairs, in case the defaults are insufficient.
These working examples, complete with fully commented code, illustrate a few ways in which this plugin can be used.
Parse the fragment (hash) from a URL or the current window.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.
Update URL attribute in one or more elements, merging the current URL (with or without pre-existing fragment/hash params) plus any params object or string into a new URL, which is then set into that attribute.
Retrieve the fragment (hash) from a URL or if no arguments are passed, the current window.location.
Merge a URL, with or without pre-existing fragment (hash) params, plus any object, params string or URL containing fragment (hash) params into a new URL.
Retrieves the current ‘state’ from the browser history, parsing location.hash for a specific key or returning an object containing the entire state, optionally coercing numbers, booleans, null and undefined values.
Fired when location.hash changes.
In jQuery 1.4 and newer, the event object passed into any hashchange event callback is augmented with a copy of the location.hash fragment at the time the event was triggered as its event.fragment property.
The numeric interval (in milliseconds) at which the hashchange event polling loop executes.
Version: 1.2.1, Last updated: 2/17/2010
Version: 1.2, Last updated: 2/11/2010
While this jQuery hashchange event implementation is quite stable and robust, there are a few unfortunate browser bugs surrounding expected hashchange event-based behaviors, independent of any JavaScript window.onhashchange abstraction.
Copyright © 2010 “Cowboy” Ben Alman, Dual licensed under the MIT and GPL licenses.
Specify characters that will be left unescaped when fragments are created or merged using jQuery.param.fragment, or when the fragment is modified using jQuery.bbq.pushState.
Adds a ‘state’ into the browser history at the current position, setting location.hash and triggering any bound hashchange event callbacks (provided the new state is different than the previous state).
Parse the query string from a URL or the current window.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.
Update URL attribute in one or more elements, merging the current URL (with or without pre-existing query string params) plus any params object or string into a new URL, which is then set into that attribute.
Retrieve the query string from a URL or if no arguments are passed, the current window.location.
Merge a URL, with or without pre-existing query string params, plus any object, params string or URL containing query string params into a new URL.
Remove one or more keys from the current browser history ‘state’, creating a new state, setting location.hash and triggering any bound hashchange event callbacks (provided the new state is different than the previous state).
Information about what version or versions of jQuery this plugin has been tested with, what browsers it has been tested in, and where the unit tests reside (so you can test it yourself).
Close