views:

73

answers:

2

Dear Stackoverflow;

Can you provide some good reading material on event-bubbling, especially in regards to the Yahoo User-Interface libraries (YUI) ?

A: 

Even-bubbling should not be a big issue. Container handles those events raised by child controls.

<script type="text/javascript">
  function doit() {
     alert("something...");
  }
</script>
<div onclick="doit()">
  <input type="button" value="one"/>
  <input type="button" value="two"/>
</div>
adatapost
+2  A: 

Maybe not exactly what you're looking for, but Christian Heilmann (Developer Evangelist at Yahoo) has written some awesome stuff on event delegation using event bubbling and YUI.

Simon Scarfe