# How to toggle sound off/on of a music

**URL:** <https://forum.kirupa.com/t/how-to-toggle-sound-off-on-of-a-music/322696>\
**Category:** Uncategorized\
**Created:** [May 31, 2011, 7:28am UTC](https://forum.kirupa.com/t/how-to-toggle-sound-off-on-of-a-music/322696 "2011-05-31T07:28:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeponkz](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Post date:** [May 31, 2011, 7:28am UTC](https://forum.kirupa.com/t/how-to-toggle-sound-off-on-of-a-music/322696/1 "2011-05-31T07:28:39Z")

</div>

here is the problem:

The user should be able to toggle on or off the sounds button where clicking (on) will turn on the sounds while the button’s label will be changed to ‘off’  
Initially the sound is off.

thanks.
