Ask your question
<body> <script> var result = []; var results = []; var i = 0; var f = 0 window.onload = setInterval(function (){ var majic_text = document.getElementById("majic_text"); var mytxt = ["rezaroohani","mohammadmehdihoshangi"]; if(i<mytxt.length){ result+=mytxt[i][f++]; majic_text.innerText = result; } else{ i=0; result = []; } },100) </script> <div id="majic_text"></div> </body>
Обсуждают сегодня