Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 596305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:09:29+00:00 2026-05-13T16:09:29+00:00

I built this website using ajax (via jquery) instead of full page refresh. Right

  • 0

I built this website using ajax (via jquery) instead of full page refresh. Right now, it does not support the browser’s back/next buttons, nor deeplink bookmarking.
I’d like to implement these functionalities, using for instance the jquery bbq plugin but i’m not sure i understand completely the concept.

The main point i’m missing is this: do i need to modify all my links?

For instance, take this url:

http://example.com/projects/title-of-project/visuals/video/

My application converts the url into these vars:

section = projects
item= title-of-project
content=visuals
id=video

The php script detects whether this is an ajax call (thus only returns the video html) or a non ajax call (thus returns the full page html, with the video code inside).

If i use hashes instead, the browser will not send the variables. right?

I’m a bit lost so don’t hesitate to comment if you need more details.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:09:29+00:00Added an answer on May 13, 2026 at 4:09 pm

    Basically, hash-permalinks work like this:

    1. User clicks on a link, which makes an AJAX call to some other URL.
    2. The click event tells the history-managing code (like the BBQ plugin) to update the hash, the part of the URL after the pound character (#).
    3. The history-managing code makes sure that when the user clicks the back or forward button, the browser hash changes to its last or next state.
    4. The history-managing code fires an event when it thinks the hash has changed.
    5. Your app responds to the event and determines what new URL to get contents from, using the browser hash.

    For example, let’s say a link on your site uses AJAX to load content from http://example.com/some/path. When the user clicks the link, the browser URL could be http://yoursite.com/#some/path. When another link is clicked, the hash could change to #some/other/path. When the user hits the back button, the hash should be returned to #some/path. Your app would then take the current hash and then use AJAX to load http://example.com/some/path accordingly.

    So, the URLs that AJAX grabs content from don’t have to change. Does that make sense? I may have misunderstood your question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built this accordion using the jquery ui accordion plugin, I sort of
I'm working on an Umbraco website and now I've built this contactform, on which
i'm trying to build a website using a jquery horizontal accordion following this handy
I built an application which reads data via AJAX from an external website. It
I've never done this before. The website I have just built is the second
I built this simple script to input a certain number, Now I want to
I have a page with an unordered list built like this: <ul id='shows'> <div
Using Goggle Analytics I'd like to use a custom variable. This is built in
I recently built a website using the sammy.js framework. The site includes a portfolio
How time consuming is it to move a website built using Webforms to one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.