Horje
how to change icon from play to pause in javascript Code Example
how to change icon from play to pause in javascript
<script>
    function toggleSound() {
       var audioElem = document.getElementById('player');
       if (audioElem.paused) {
          audioElem.className = "fa fa-play";
          audioElem.play();
       } else {
          audioElem.className = "fa fa-pause";
          audioElem.pause();
       }
    }
</script>




Javascript

Related
Node-Red: Bit Switch Code Example Node-Red: Bit Switch Code Example
sintaxis map javascript Code Example sintaxis map javascript Code Example
whatsapp images not showing in meta tags Code Example whatsapp images not showing in meta tags Code Example
Error: spawnSync adb ENOENT at Object.spawnSync (node:internal/child_process:1083:20) Code Example Error: spawnSync adb ENOENT at Object.spawnSync (node:internal/child_process:1083:20) Code Example
how to add express in node js Code Example how to add express in node js Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7