I want to be able to perform a jquery for when an autocomplete box is visible.
I want to be able to hear this noise from this page
http://www.wav-sounds.com/various/beep.wav
I have this code for my function so far, and the autocomplete works. I just dont know how to include that noise when it is visible.
$("input[name=search]").live('focus', function() {
$(this).autocomplete({
source: myData,
})
});
Any help would be greatly appreciated!
Thanks!
I assume you mean the plugin from: http://docs.jquery.com/Plugins/autocomplete ?
If so, the example at the bottom of the page looks like it will assist you.