- From: Daniel Glazman <glazman@netscape.com>
- Date: Tue, 07 Jan 2003 15:26:53 +0100
- To: Andrew Clover <and@doxdesk.com>
- CC: www-style@w3.org, apparao@netscape.com
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 UTC