Показать сообщение отдельно
  #2 (permalink)  
Старый 15.02.2017, 14:24
Профессор
Отправить личное сообщение для Dilettante_Pro Посмотреть профиль Найти все сообщения от Dilettante_Pro
 
Регистрация: 27.11.2015
Сообщений: 2,899

<input type="radio" name="qcID" id="qcID1" value="1">
<label for="qcID1">Первый</label>
<input type="radio" name="qcID" id="qcID2" value="2">
<label for="qcID2">Второй</label>
<input type="radio" name="qcID" id="qcID3" value="3">
<label for="qcID3">Третий</label>
<script src='http://code.jquery.com/jquery-latest.js'></script>
<script>
$("input:radio").on("change", function() {
    beep();          
});
var beep = (function () {
   var snd = new Audio("http://download-sounds.ru/wp-content/uploads/2012/05/004.mp3"); 
   snd.play();
});
</script>
Ответить с цитированием