| 
				Audio при OnClick
			 Помогите, пожалуйста!
 Достался "в наследство" такой код:
 
 <script>
 var prefix, main_Qq, main_type, Ql;
 function createList() {
 prefix = "al_";
 var request = db.transaction(workingStore, "readwrite").objectStore(workingStore).index("NN")  .openCursor();
 request.onsuccess = function (event) {
 var cursor = event.target.result;
 if (cursor) {
 //console.log(cursor.key + " | " + cursor.value.ID);
 var cID = cursor.value.ID;
 $(".questions-list").append(
 '<question data-Qq-Id="' + cID + '" class="mix" data-my-order="3">' +
 '<div class="question-title">' + FirstlineQq[cID].Title + '</div>' +
 '<div class="question-rate">' +
 '<div class="question-like"></div>' +
 '<input type="radio" data-Qq-Id="' + cID + '" name="' + prefix + 'q' + cID + '" id="' + prefix + 'q' + cID + 'a1" value="1"><label for="' + prefix + 'q' + cID + 'a1"></label>' +
 '<input type="radio" data-Qq-Id="' + cID + '" name="' + prefix + 'q' + cID + '" id="' + prefix + 'q' + cID + 'a2" value="2"><label for="' + prefix + 'q' + cID + 'a2"></label>' +
 '<input type="radio" data-Qq-Id="' + cID + '" name="' + prefix + 'q' + cID + '" id="' + prefix + 'q' + cID + 'a3" value="3"><label for="' + prefix + 'q' + cID + 'a3"></label>' +
 '<div class="rate-lock display-none"></div>' +
 '</div>' +
 '</question>'
 );
 cursor.continue();
 } else {
 console.log("end");
 init();
 checkQQ();
 }
 };
 }
 </script>
 
 Каким образом можно сделать, чтобы при каждом выборе radio (при клике на селектор) проигрывался звуковой сигнал?
 
			
			
	
			
			
			
			
			
				  |