Andrew Clover wrote: > function myclick(e) { > alert('You clicked on a <div class="foo">!'); > } > > function binder(e) { > if (e.type=='bind') > e.target.addEventListener('click', myclick, false); > if (e.type=='unbind') > e.target.removeEventListener('click', myclick); > } > > document.addSelectorListener('div.foo', binder); > That's just another way of saying div. foo { onclick: "myclick"; } isn't it ? And that's exactly Action Sheets... </Daniel>Received on Tuesday, 7 January 2003 09:26:17 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:19 GMT