_.setCookie

Function Description
Sets the cookie by the given day, value and name.
Function prototype
_.setCookie(name,value,days). Sets cookie @name to @value if @days defined, it also sets the expire date.
Function parameters
@name - cookie name
@value - cookie value
@days - expire day
Sample HTML DIV element is given to try UPJS function.
not applicable
Code area to try out _.setCookie function.