Hallo Struppi,
function debugObj(o)
{
var t = 'Objekt: ' + o;
for(var a in o)
t += '\n' + a + ( typeof o[a] == 'String' ? o[a] : typeof o[a]);
alert(t);
}debugObj(text);
Wenn ich diese Funktion in das Skript einbaue bekomme ich folgende alert-Ausgabe:
Objekt: [object Object]
empstring
startstring
infostring
...
usw. für "text[''] im Skript.
gruß Compiwurstel