Is there another way to get an DOM element’s ID? element.getAttribute('id') 8 Answers 8 Tags: HTMLjavascript