var test = "test value"; function dig_up(obj, objName) { //var obj = self; if (obj == null) { window.alert("Null object"); return; } if (obj == undefined) { window.alert("Undefined object"); return; } var dumpWin = window.open("","displayWindow","menubar=no,toolbar = no, width = 400,height = 500,scrollbars =yes,resizable=yes"); var result = ""; objName = "" + objName + ""; dumpWin.document.open(); dumpWin.document.write("
") dumpWin.document.write(objName + "." + i.toString() + ""); dumpWin.document.write(" | ") dumpWin.document.write("")
if (obj[i] != undefined)
dumpWin.document.write("" + obj[i]);// + i.toSource();//+ " = " + obj[i] + "\n" + " "; dumpWin.document.write(" |