I'm trying to find an example of how to add tostring to a date
object so serializeJSON will work correctly. I see in the docs there
are many ways to do this.
I can't find an example anywhere. How are most people doing this? I
don't think prototyping in a __json__ or json method to the date
Looks like a pretty slick way to achieve what you are looking for...
I'm not sure how cross-browser it is...
http://laurens.vd.oever.nl/weblog/items2005/setsinjavascript/
On 1/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
In python we have the handy in operator:
if 3 in [1,2,3]: ...
I just updated my code to the current revision and it seems to have
broken some of the dom functions. If I use a slightly modified string
of the DOM documentation and evaluate:
MochiKit.DOM.TABLE({'class': 'prettytable'},
MochiKit.DOM.THEAD(null, MochiKit.DOM.TH()),