It display $.cookie is not a function in jQuery means you can’t use the jquery.cookie.js. Use jquery.cookie.js or CDN link, I have a CDn link you can use in your website.
jquery.cookie.js CND link is here:
<script type=”text/javascript” src=”https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js”></script>
Then set your cookie data. Hope it will workable for you
Question and answer is powered by AnsPress.io