Description:
Add array of sound sources.
Result:
None.
Code:
function onload() { // jQuery version stores one sound in each element, // so url cannot be an array of string $('.sound').each(function() { $(this).jWebAudio('addSoundSource', { 'url': '../../examples/resource/' + $(this).attr('id') + '.wav' }); }); }