JavaScript -Änderungselement -ID
var element = document.getElementById("oldID");
element.id = "newID";
TC5550
var element = document.getElementById("oldID");
element.id = "newID";
var element = document.getElementsByTagName("div")[0];
var id = element.id;