Questions tagged [jquery-bbq]

jQuery BBQ is a "Back Button & Query Library" that enables simple bookmarkable #hash history via a cross-browser window.onhashchange event.

81 questions
1
vote
1 answer

In jQuery/JavaScript, how do I deserialize a string of form values that have been converted using "form.serialize"

I am surprised at how much difficulty I am having with this. I am using form.serialize to serialize a form to a string for submission using .ajax. I am also adding this string value to a hash, which I am using to manage state for enablement of the…
RubyRedGrapefruit
  • 12,066
  • 16
  • 92
  • 193
1
vote
4 answers

How do I deserialize a big long querystring in jQuery?

I'm trying to figure out how to enable the back and forward buttons in my AJAX application, which is dynamic and database driven. To capture the state, I am trapping some values for url, type, and data in an associative array. I am getting the hash…
RubyRedGrapefruit
  • 12,066
  • 16
  • 92
  • 193
1
vote
3 answers

How to load a page on server with variables following a hashmark in the URL?

Currently, when a user goes to the following URL: www.foo.com/details.hmtl#id=123 The server returns 'details.html' and then performs a client-side Ajax call once the page is returned to load the data for the item with id=123. It uses the BBQ…
Cuga
  • 17,668
  • 31
  • 111
  • 166
1
vote
1 answer

Appending Hash to URL on .load() Page Update

BACKGROUND: I've got a page with the markup shown below. I'm using jQuery's .load() method to replace the contents of div.content-container with this code: $(document).on('click', 'button#page2', function() { …
Marcatectura
  • 1,721
  • 5
  • 30
  • 49
1
vote
1 answer

Additionally filter buttons won´t update the URL hash (see my JSFIDDLE)

sadly i am not that good with JS to find out what is wrong I am trying like it says on this page http://isotope.metafizzy.co/demos/hash-history.html#filter=*&sortAscending=true If i click on the first filter the result is ok but as soon as i select…
Mad_Mike
  • 13
  • 2
1
vote
1 answer

Hashchange addClass not working

I'm currently using the jQuery BBQ hashchange plugin to generate hash changes so that when my content div animates, I have back button functionality. I've found a tutorial, which has given me the functionality I want, but I'm having trouble getting…
stupendousman
  • 93
  • 2
  • 9
1
vote
1 answer

JQuery BBQ: Where to store URLs?

Link To Demo Page: http://benalman.com/code/projects/jquery-bbq/examples/fragment-advanced/ SCRIPT: