0
Why it works in this way??
6 Réponses
+ 6
<ol id="l"></ol>
var ol = document.getElementById("l")
ol.innerHTML += "<li>" + names[random] + "</li>"
+ 5
at line 6, you closed ol tag wrongly
+ 1
yes than you so much
+ 1
Very thanks
0
and why it doesn't write number??
0
no I don't want to hav enumber.see when we use <ol> it writes s.th like this:
1.Sina
2.Navid
3.Amir