Re: Overriding an onclick with another onclick
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Overriding an onclick with another onclick

From: bobzimuta <ejmalone@gmail.com>
Date: Thu Jan 26 2006 - 00:57:18 CET

Without having taken any time to research this, I think you need to
call the cancelBubble function. I think

window.event.cancelBubble = true for the IE event model
and
event.preventDefault() or event.stopPropogation() for mozilla

or try returning false from the event function.

if that doesn't help, trying googling for javascript event propagation
Received on Tue Feb 7 21:23:17 2006