function myEvent() {
// Функция stop для Audio:
HTMLAudioElement.prototype.stop = function()
{
this.pause();
this.currentTime = 0.0;
}
// myaudio.stop(); // использование
var audios = document.getElementsByTagName('audio');
for(var i = 0, len = audios.length; i < len;i++){
if(audios[i] != 0 || audios[i].playing()){
alert("video");
audios[i].pause();
audios[i].stop();
}
}
console.log('My Event!');
jq_QuizNextOn();
}