Posts by Ricardo Theodoro • 9 points
1 post
-
0
votes2
answers47
viewsA: Get audio id played
Do it this way. So it checks play on any audio element and shows you the id assigned to the element. $('audio').on('play', function(){ var id_aud = $(this).attr("id"); }); <script…