return value when setting
January 30, 2008 - 1:19am — scott.gonzalez
| Project: | Cookie |
| Version: | 1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Return the value even when setting, this would allow:
var value = $.cookie(key) || $.cookie(key, default);