I've been asked to provide the facility for a user to save the current
state of a form in order to recover it later (some of them are quite
large). I've been
tinkering with using toJSONString (http://www.json.org/js.html) and they
have an implementation (available at http://www.json.org/json.js) which
allows for JavaScript objects
to be JSONified.

However, when I include json.js I receive the following error

Unrecoverable error during asynchronous call (Component returned failure
code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)

I can include and use this in another Web based project (and it works
quite well).

Any ideas?
Thanks in advance

Identity Concepts
Mobile : +61 419 637 518
email : adam_j_bradley \at\ identityconcepts.com.au
Web : http://www.identityconcepts.com.au