Fügen Sie Onclick JavaScript dynamisch hinzu
elem.addEventListener("click", func, false); //where func is your function name
Weary Wren
elem.addEventListener("click", func, false); //where func is your function name
elem.addEventListener("click", func, false); //where func is your function name