Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
Hi, I need a simple play and pause button to play multiple audio on one page. Can someone suggest me a method of doing so? |
|
Javascript: <script> /** * jQuery document ready function (when the DOM is loaded) * From here we can use $ to reference the jQuery object */ jQuery(document).ready(function($) { /** * Finds all elements that have _BOTH_ the .audio and .controls classes * then attaches a click handler to the .playpausebtn … |