Return to Snippet

Revision: 22992
at January 27, 2010 05:19 by yisreldov


Initial Code
query = document.location.search.toQueryParams();
for(i in query ){
    setCookie(i,query[i],365);
}

Initial URL

                                

Initial Description

                                

Initial Title
save query params to cookies in JS using prototype

Initial Tags
javascript, textmate

Initial Language
Other