Drag 'n' Drop mit JS

HTML:
Obj = document.getElementById(ev).cloneNode(true);
document.getElementById(grassa).appendChild(Obj);
Geht das so?
(Das ist im MouseMove-Funktion)
Ich kriege folgende Ausgabe von FireBug(FF2)
Code:
document.getElementById(ev) has no properties
Obj = document.getElementById(ev).cloneNode(true);
baum.html (line 257)
document.getElementById(ev) has no properties
Obj = document.getElementById(ev).cloneNode(true);
baum.html (line 257)
document.getElementById(ev) has no properties
Obj = document.getElementById(ev).cloneNode(true);
baum.html (line 257)
document.getElementById(ev) has no properties
Obj = document.getElementById(ev).cloneNode(true);
baum.html (line 257)

...
Ich hoffe,ihr könnt mir dabei Helfen.
 

Neue Beiträge

Zurück