...

View Full Version : javascript play sound unfocusing chat msg textbox



boeing747fp
06-16-2010, 10:40 PM
i have an ajax/comet chat setup and working and i added the following line to it to play a sound when a new message is received... however every time it plays the sound, it unfocuses the textbox that the user is typing a new chat msg in....


$('soundbox').innerHTML="<embed src='WAVE_358.wav' hidden=true autostart=true loop=false>";



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum