I'm having a problem with onclick events and the dynAPI.  When I include the
dynAPI library, even before initiating any dynlayers, the following code
executes both the onClick AND the href.

<a href="javascript:alert('2');" onClick="alert('1');return false;">link</a>

The return false *should* cancel the href, but somehow it is getting
through.  I've seen lots of examples of similar code on this list, has
anyone else encountered this problem?  It seems to happen in all browsers,
except NS 6.

My goal is to have an image wrapped in an href, which calls a function
onClick and does *not* execute the href.

Thanks for any advice!

- Abre Chase

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to