Klaus Hartl schrieb:
>> Perhaps an option to define a date object for expires as well?
>>
>> var myDate = new Date();
>> myDate.setTime(myDate.getTime() + 30 * 60 * 60 * 1000);
>> $.cookie('username', 'fred', {expires: myDate});
> 
> Sam,
> 
> sounds reasonable to me. I will add that.

Updated the plugin. Also finished documentation.



-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to