view source
1
$.cookieConsent({
2
// 10 years
3
consentTime: 3650,
4
5
// cookie, local, or session
6
storage:"cookie",
7
});
view source
1
<script src="/path/to/cdn/jquery.min.js"></script>
2
<script src="/path/to/dist/jquery.cookie-consent.min.js"></script>