I am trying to set a cookie using jQuery:
$.cookie(\"testCookie\", \"hello\");
alert($.cookie(\"testCookie\"));
But when I load my page, I
Solve jQuery $.cookie is not a function this Problem jquery cdn update in solve this problem
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js" integrity="sha256-T0Vest3yCU7pafRw9r+settMBX6JkKN06dqBnpQ8d30=" crossorigin="anonymous"></script>