jQuery $.cookie is not a function

前端 未结 7 1520
眼角桃花
眼角桃花 2020-11-27 15:12

I am trying to set a cookie using jQuery:

$.cookie(\"testCookie\", \"hello\");
alert($.cookie(\"testCookie\"));

But when I load my page, I

相关标签:
7条回答
  • 2020-11-27 15:55

    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>
    
    0 讨论(0)
提交回复
热议问题