JavaScript mendapatkan nama elemen
var name = element.getAttribute("name");
Shy Snail
var name = element.getAttribute("name");