JKD, I'm not familiar with the syntax you used here:
Code:
Cookie: function(name, value, expires, domain, path, secure)
...
fill: function()
...
empty: function()
... with the colons and all. Would that be the same as...
Code:
this.Cookie=function(name, value, expires, domain, path, secure)
...
this.fill=function()
...
this.empty=function()
?
Also is it possible to pass arguments through an anonymous function within an object like this?:
Code:
this.fill(a, b, c)=function(a, b, c)
I was toying with something like this today, and I couldn't get it to work properly (or at all, rather).