> dispatchEvent(button,"click")

At first glance this seems silly, as one can call button.onclick() to run that 
function,
this was part of javascript since day one, but dispatchEvent probably does 
something more, it probably bubbles up.
So we would need to march up the tree via parentNode and call any onclick 
functions along the way.
Rather like handlerGoBrowse in C, but a js version, which isn't hard at all.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to