Amazing JavaScript Port Of ColdFusion's CFDump Tag

Posted November 10, 2006 at 8:06 AM

Tags: Javascript / DHTML

Shuns, from down under, sent me a link to a JavaScript method "Dump()" that he wrote. It is pretty darn fantastic and looks and feels just like the ColdFusion CFDump tag that we have all come to love. Anyway, check it out when you get a chance; it's freakin' sweeeet!

http://www.netgrow.com.au/files/javascript_dump.cfm

Comments (5)  |  Post Comment  |  Ask Ben  |  Permalink  |  Print Page




Reader Comments

That is sweet! Thanks for sharing.

Posted by fro on Nov 10, 2006 at 9:26 AM


great find Ben and cudos to the author.

I just downloaded the source and I think that this would make one hell of a JQuery plugin ;)

Posted by Tony Petruzzi on Nov 10, 2006 at 12:40 PM


i get "too much recursion" when trying to dump a simple array of strings returned from JSON.

Posted by Chris on Nov 10, 2006 at 1:55 PM


Chris,

You would get this type of error when you have circular looping. Not sure how it would happen in a JSON return value unless you had something like a nested structure referring to its parent.

The same would happen in a CFDump call with circular references.

This is just theory, you should contact the site for support.

Posted by Ben Nadel on Nov 10, 2006 at 2:59 PM


Im not sure about JSON; if it's a nutual Javascript object then it will dump fine. I recently updated it aswell to allow for dom elements so get the latest version if you require this.

Posted by Shuns on Nov 13, 2006 at 12:35 AM


Post Comment  |  Ask Ben


Home   |   Web Log   |   ColdFusion   |   Projects   |   Resume   |   Job Form   |   Search   |   Contact
Epicenter Consulting - Custom Software Solutions for Business Evolution HostMySite.com - The Leader In ColdFusion Hosting