[Javascript] Object literal toString

Laurent Muchacho elmuchacho at gmail.com
Tue Mar 14 05:02:32 CST 2006


Hi Everyone,

I'm trying to return an Object as a literal string following the
examples in this page

http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object:toSource

An examples page I built following the references above
http://www.be-lovely.com/code_pool/examples/object_literal_toSource.htm

It work fine in Firefox, but unfortunately not in other browser does
anyone know a cross browser way to do this.

Many Thanks



More information about the Javascript mailing list