I did this:
$.cookie("ultOS", (i), {expires:1});
But it will only expire next day.
How can I expire a cookie at midnight?
Would this work instead?
var date = new Date();
var midnight = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 23, 59, 59);
$.cookie("ultOS", (i), {expires: midnight});