David Kearns Central RSS 2.0
# Tuesday, November 14, 2006

The Dump method is based on one of the tags available in Coldfusion ( <cfdump> ) providing the ability to display simple and complex variables in a user friendly way that is perfect for debugging/inspecting data. There is no way to do this with javascript and often I had wanted a method to do this. This method will do just that allowing for an infinite amount of data nesting complete with color coding for different data types, the ability to show/hide the data's type (String/Number/Boolean/Object/Array/Function), expandable and collapsible tables/keys and cross browser support.

[ Javascript Struct : Net Grow Web Design Sydney, Australia ]

I gotta say, CFDUMP is a hot tag, and this is a hot extension of that idea for javascript.

Brought to my attention by MetalUnderground's webmastermind, deathbringer.

Tuesday, November 14, 2006 2:38:46 PM (Eastern Standard Time, UTC-05:00)  #    Comments [1] -
www
Tuesday, November 14, 2006 8:06:02 PM (Eastern Standard Time, UTC-05:00)
IMHO, if you're creating a JavaScript structure complex enough that FireBug's console is insufficient, it's a code smell.
Comments are closed.
Archive
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions.

© Copyright 2010
David Kearns
Sign In
Statistics
Total Posts: 1300
This Year: 1
This Month: 0
This Week: 0
Comments: 1761
Themes
Pick a theme:
All Content © 2010, David Kearns
DasBlog theme 'Business' created by Christoph De Baene (delarou)