jQuery BBQ is a "Back Button & Query Library" that enables simple bookmarkable #hash history via a cross-browser window.onhashchange event.
Questions tagged [jquery-bbq]
81 questions
2
votes
1 answer
Support browser back-button with ajax without relying on a hash change?
I'm currently using the jQuery BBQ plugin to enable the bowser navigation buttons to work, but I have a problem in that if a bookmark is saved by a user for one of the pages, say...
www.mysite.com/#page1
when the user returns via the bookmark the…

John
- 57
- 1
- 4
2
votes
2 answers
How can I learn about enabling the back button in a jQuery AJAX application?
I have looked at all of the most popular questions on here, including the ones that reference the most popular plugins like BBQ and jQuery Address.
However, there is something I am missing. I need instruction a step back from anything I have seen in…

RubyRedGrapefruit
- 12,066
- 16
- 92
- 193
2
votes
1 answer
Timestamp AJAX URL
Below is the code I'm using for jQuery BBQ.
$(function(){
var cache = {
'': $('.content')
};
$(window).bind( 'hashchange', function(e) {
var url = $.param.fragment();
$( '.contentarea' ).children( ':visible' ).hide();
if (…

CoreyRS
- 2,227
- 3
- 26
- 44
1
vote
1 answer
Multiple values for a parameter jQuery BBQ
I need to create a hash url like
http://www.example.com/#filter=1&filter=2
How do I use jQuery.bbq.pushState function to store multiple values with a single id(filter in this case) for attaining the above url structure?
Or are there any other…

insightful
- 189
- 1
- 5
- 14
1
vote
2 answers
Controlling the Back button using onhashchange or jquery
I need some guidance on how to have very basic control in the use of the back button.
Basically, I need to warn the user that by clicking the back button, when on my checkout.asp page, they will lose the items already there. I need to instruct them…

Mark_54
- 1,273
- 4
- 15
- 21
1
vote
1 answer
jquery BBQ - if parameter doesn't exist function
How would I use jquery BBQ to check if a parameter exists and if it does not then run a function?
I'm assuming that $.deparam.fragment().srhTerm; is what I would use, however if srhTerm doesn't exist in the url, does it return false or null?
thanks

Jason
- 7,612
- 14
- 77
- 127
1
vote
2 answers
jQuery BBQ plugin with PHP pretty URLs
I'm having trouble working out how to get started on jQuery's BBQ plugin to enable support for forward/back and bookmarking in my Ajax site, with pretty URLs.
I have pretty URLs for my PHP pages via Apache mod_rewrite rules so that…

Alpaus
- 646
- 1
- 7
- 21
1
vote
2 answers
1
vote
0 answers
Is there a way to implement normal anchor function when using JQuery BBQ?
Just that - or alternatively, is there another easy enough way to load content in one div/etc without reloading another? & with back, bookmark, & anchor functionality?
Thanks
addon: OR - is there an alternative way to 'scroll to a point' using some…

lakitu
- 77
- 8
1
vote
1 answer
jQuery Isotope Combination Filters mixed with BBQ Hash History - Need help understanding how to
I am trying to understand how to use Combination filters with Jquery BBQ Hash History.
What I want to do is have the user filter by Logos, Identity or Branding. If the user clicks Logos, I want them to then be able to subfilter by "Non-Profit,…

Chongo
- 13
- 1
- 4
1
vote
1 answer
bbq removestate without affecting
How do I remove state fragment search?
state: #tab=2&search=true
$(textbox).click(function()
{
var state = {};
//$.bbq.removeState("search");
state['tab'] = $(this).val();
$.bbq.pushState(state);
});
If I uncomment the removeState…

user730108
- 109
- 1
- 10
1
vote
0 answers
When using the jQuery BBQ plugin, is there a way to make the getState() method ignore case?
I am using the jQuery BBQ plugin:
http://benalman.com/projects/jquery-bbq-plugin/
It has been pretty awesome, however when calling $.bbq.getState(); case seems to be important.
For instance, consider the following URL:…

MattW
- 12,902
- 5
- 38
- 65
1
vote
2 answers
Can't change elements added during $(document).ready during $(document).ready
I've implemented a page with a list of options (job categories) that when clicked should display data (job descriptions). I am using BBQ to handle the back stack.
Everything works dandy, except for setting the initial selection when the user first…

tig
- 3,424
- 3
- 32
- 65
1
vote
1 answer
pushState causing postback in IE 7 >
Currently I'm doing a server side redirect which appends the location hash like so...
SearchTerms[]=web&PageNo=1&PageSize=10&Sort=0&AllFacetGroups=null
When I call pushState to update the location hash, this fires a post back.
Note this does not…

Jake
- 51
- 5
1
vote
1 answer
jQuery BBQ, How to detect a repeat click, which doesn't trigger a hashchange
I'm using the jQuery plugin hashchange: http://benalman.com/projects/jquery-hashchange-plugin/
$(function(){
$(window).hashchange( function(){
// location.hash
})
$(window).hashchange(); // Trigger the event (useful on page…

AnApprentice
- 108,152
- 195
- 629
- 1,012