IE6 onlick not firing
- From: "Will Holley" <WillHolley@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 02:34:02 -0700
We have a number of anchor tags in our web app which look like:
<a href='javascript:void(0)' class = 'btnExpand' onclick = 'return
showDetails()'>+</a>
The onclick event appears to function correctly and has done for many
months. We recently bought a bunch of new development machines and for some
developers, the onclick event does not fire.
However, if we change the code to be:
cell.innerHTML = "<a href='javascript:void(0)' class='btnExpand'>+</a>";
cell.firstChild.onclick = showDetails;
then all is ok again!
A bit of info:
1. Our app is targeted at IE6+.
2. Changing all events in the app is not an option.
3. On one machine the original code works for some users and not for others
(active dir 2003 profiles - all admins and supposedly identical).
4. Conversely, the behaviour follows the user profile around on whatever
machine they happen to use.
5. In a test page in the same app inline onclick events always work for all
users.
We are completely stumped so if anybody has any ideas as to what may cause
this behaviour I would greatly appreciate it.
Kind regards,
Will Holley
p.s. apols for the cross post - had to post again for managed support
.
- Follow-Ups:
- Re: IE6 onlick not firing
- From: Roland Hall
- Re: IE6 onlick not firing
- From: Dave Anderson
- Re: IE6 onlick not firing
- From: McKirahan
- Re: IE6 onlick not firing
- Prev by Date: Re: What does this do?
- Next by Date: Re: What does this do?
- Previous by thread: What does this do?
- Next by thread: Re: IE6 onlick not firing
- Index(es):
Relevant Pages
|
Loading