Let’s return to using the alert method.
The fastest way is dividing by 2.
You put the alert in the middle of method.
If the error appears before the alert it means
the error is in the first half of the method.
Then you put the alert in the middle of the first half and so on.
In your case the error says:
“Error in zenPageEventHandler:onload
evt:undefined “
So it is in onload method and something is undefined.
The onloadHandler method looks like
(in the source it could look a little bit different)
function MySignUps_StartPage_onloadHandler() {
zenPage.addTableMouseOver();
table = zen('mysignupsTable');
var rowcount=table.getProperty('rowCount');
if (rowcount == 0)
{
zenSet('mysignupsTable', 'hidden', true);
zenSet('tablenav1', 'hidden', true);
zenSet('buttonFormLabel','value','You have no current nor
upcoming sign-ups');
} else
{
zenSet('mysignupsTable', 'hidden', false);
zenSet('tablenav1', 'hidden', false);
}
return
}
The first thing I noticed was zenSet. When you fixed it
and the error appears again and because the rest of the method
looks OK it means that there is something wrong with
zenPage.addTableMouseOver();
To be sure you have to put alert before or after this line.
You can use also exclude method where it is possible. If you
remove or comment the line and the error doesn’t appear
It means that the error is in that line and you have to dig there.
Of course everything is easy especially when you know where
is the error.
On Sep 30, 2:41 pm, Dawn Wolthuis <
dw...@tincat-group.com> wrote:
> Thanks for the tidbit, Dave. IE gremlins seem to pop up in many places. --dawn
>
>
>
>
>
> On Wed, Sep 30, 2009 at 4:01 PM, Dave <
xarm...@gmail.com> wrote:
> > If it seems like it's in an "onload"... and you're using external apache...
> > There is code in some apache file somewhere that causes it to act
> > differently if the web browser identifies as IE. This was a problem when
> > using SSL, and an interesting problem at that. I don't remember if I ever
> > managed to post about it here. The problem was evasive until I used a
> > Firefox plugin to make firefox identify itself as IE (with nothing else
> > changed) and suddenly firefox was getting the same error... and then I found
> > a plugin for IE that made it identify as Firefox, and suddenly IE was not
> > getting an error. Turned out to be a line of HTML inserted into the page by
> > Apache when the browser is identified as IE. This doesn't really sound like
> > the same thing, but figured I'd throw it out there.
>