Link to home
Start Free TrialLog in
Avatar of newbie27
newbie27Flag for United Kingdom of Great Britain and Northern Ireland

asked on

retrieve comma separated values from the cookie

Hello John,
Thanks for sorting out the problem I had in storing multiple value in the cookie, Could you please let me know the best way to store Id and Title in it, so that to make it easy for the retrieval.
I have used your function and stored these two information in the following statement

saveShortList(theId+"["+myTitle+"]")

Please let me know If I would have to do in another way and also please assist me in retrieving these values from the cookie
thanks for your help
regards
sam
ASKER CERTIFIED SOLUTION
Avatar of JohnSixkiller
JohnSixkiller
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of newbie27

ASKER

many thanks, seems to have worked..!
Hello John,
I am having an error here, I tried looking but did not help ..
----------------------------------err mssage----
$.cookie("shortlist") has no properties
 var data = $.cookie('shortlist').split(",");

-------------------------------------
john,
could you please follow this url , you will see what i am trying to do there
http://213.253.134.6/artism/admin/rdbm_results3.asp?SF1=keyword&ST1=media&SORT=pe_sort_name
user details: john/john
on the main resultset, please click on the add to shottlist icon and you will see the effect with an error...