0
Hi guys, i hope you can help me to fix this problem. Why * inside forloop doesn't show on p tag. Sorry for my English.
1 Answer
+ 2
klik.innerHTML = "xxxxxx" replaces the innerHTML. You could do klik.innerHTML += "xxxxxx" instead. Or first build the element you want to have as the innerHTML and then set it at the end of your function.