What does this error mean and how do I fix it?
TypeError: $.cookie is not a function
[Break On This Error]
$($.cookie(\"inputFocus\")).focus()
It means the library that's supposed to have that function is not loaded. But you can set a cookie using javascript, here:
https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie
You need to include the jQuery cookie plugin before this code snippet.
That error means exactly what it says: $.cookie does not exist.
jQuery core does not include anything related to cookies. There are several cookie libraries that add a cookie function to $. You need to add one to your page first.
Including jquery file twice(multiple time) also gave same issue in my case.