Date: November 3, 2015, 3:27 pm Author: Akram Hossain
Have a look at
I believe that it will work OK if you escape the ' character thus: '
str = str.replace(/'/g, "\'");
Date: July 23, 2015, 11:40 am Author: Akram Hossain
Assumption here is that you're referencing the script incorrectly and the web server is serving a 404 html page. Make sure the js file is where you're referencing it from.
for reference https://github.com/carhartl/jquery-cookie/issues/347#event-230595231