there is javascript call function
myfunction();
I used
$('#chap1').on('click', function(){
audioplay();
});
so the audio function run, I wonder something can "off/on" the function without calling a new function to stop the audio.
Is there any way to stop/close the javascript function?