how can I dispatch customized events to all listening elements
<p>sample code:</p>

<pre><code>var evt = document.createEvent('Event');
evt.initEvent('myevent',true,true);
ele.dispatchEvent(evt)  //ele is an HTML element
</code></pre>

<p>but it just dispatch the event to only one element, is there an elegant way to broadcast the event to all the elements which use addEventListener('myevent',...) to register a callback function?</p>
