Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Pure JS Help with Cookie Tool Re: Pure JS Help with Cookie Tool

#102067
Mottie
Member

Have you thought about using localStorage with cookies as a fallback?

Actually, why isn’t using jQuery a viable solution? Using it on your site to make it easier for you to code has nothing to do with the code you are providing. If you’ll consider it, here is a nice clean solution that does use local storage with a cookie fallback.