Grazie lucavizzi!! mi hai risolto un bel problema, ho messo un file mp3 perchè il wav non veniva interpretato da IE, se posso approfittare ti vorrei porre un altra domanda, se io volessi aggiungere un if sempre nel file js che in base al messaggio della chat mi esegua un suono diverso che sintassi devo utilizzare? ad es. se il messaggio è '20' esegui document.getElementById('ring').play(); se è 21 esegui document.getElementById('ring2').play();
grazie ancora
ciao

Rispondi quotando