javascript - setTimeout on mobile browsers doesn't work -
i trying run script in ios safari , android browsers doesnt work, works in desktop browser.
case 4: if(estado == '1'){ alert('case 4!!'); $('#respuesta').empty(); $('#respuesta').append('well done!<br>that correct.'); $('#estado').val(2); document.getelementbyid('well_done').play(); //when audio finish, must wait 5 seconds play one. settimeout(function(){ document.getelementbyid('question_2').play(); },5000); }
i repeat, works in desktop not in mobile.
thanks help.
Comments
Post a Comment