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?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.