get cookie and delete cookie jquery code example Example: jquery delete a cookie $.cookie("mycookiename", null, { path: '/' });