We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Ok, the last topic didnt get a responsse. Lets try this one about exp_tracker

Development and Programming

CADAUDIO's avatar
CADAUDIO
13 posts
9 years ago
CADAUDIO's avatar CADAUDIO

I’m looking to show a button with jQuery of the last page loaded with ajax. Then I plan to write a bit of jQuery to X out the last ajax call and show the prior.

When I make an ajax call, it outputs a cookie called exp_tracker.

{"0":"ajax/ajax_sort/gxl-series","1":"ajax/ajax_sort/cad-live","2":"ajax/ajax_sort/equitek","3":"ajax
/ajax_sort/cad-live","token":"3da9247807a3b53af6402b9dcbf20e63"}

Within this cookie are json values 0, 1, 2, 3.

I would like to utilize these cookies as a means to filter content based on history. (see attachment)

I’m also using jQuery cookie.js on my site.

Any suggestions how I could echo the last segment into html?

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
9 years ago
Kevin Cupp's avatar Kevin Cupp

Sure let me see if I can help. What exactly are you trying to echo into HTML? Something in the JSON?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.