Work Stuff - (Viraj Kanwade)
something regarding programming and installations...
Human knowledge belongs to the world!
Search This Blog
Thursday, April 05, 2007
Debug javascript object
/* This is code to debug any javascript object. Just assign obj the variable you want to debug */
var obj =
[object to debug]
var temp = "";
for (x in obj)
{
temp += x + ": " + obj[x] + "\n-----\n";
}
alert (temp);
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)