Yea, still a problem.. I will stop sending email through wrox mail
server and start posting from the site.. Mail server is taking 4 hours
to accept my mail.
sorry for the inconvience.
Thanks
Earl Robb
-----Original Message-----
From: SEAK, Teng-Fong [mailto:tfseak@f...]
Sent: Tuesday, December 17, 2002 12:32 PM
To: javascript
Subject: [javascript] RE: limit on events NN4.6?
> -----Message d'origine-----
> De : Earl Robb [mailto:erobb@b...]
> Envoy=E9 : mardi 17 d=E9cembre 2002 16:00
> =C0 : javascript
> Objet : [javascript] RE: limit on events NN4.6?
>
>
> Yes sounds like a great Idea, I thought your first one had fixed it
I sent this reply yesterday but it got sent to us just an hour
ago so the discussion becomes a bit out of coherence :-)
> because the onkeyup event fired 1 time properly. Upon refreshing the
> page it wouldn't work properly.
That means, there's still problem ... damn it!
What's the problem this time ? OnKeyUp event doesn't fire or
what ?
> The only problem I have with breaking it into multiple forms is I need
> all the data submitted to another page for writing each weeks hours
> into a db. Obviously I can calc the totals on the server side and
> bypass the
> js. I just thought it would be slick for the user to be able
> to see the
> totals they were entering.
Actually, breaking the form might not be a good idea. As I had
said, it's a quick and dirty solution. "Dirty" because <form> isn't
supposed to be put inside <tr>, so on doing so, this might create other
parsing problems.
> I don't think you can submit multiple forms simultaneously Also I'm
> pretty sure thats not the problem.
Nope, we can't do so by design.
> IF you want to see something really insane here is a link to
> a previous
> version of mine that works in NS 4.61. As soon as I take out
> the extra
> table that is not in the form tags its stops working
>
> www.bondadapt.net/test/tim.html
>
> I put a copy of NS 4.61 @ www.bondadapt.net/test/CC32E461.EXE
OK, I'll get one and see what's wrong.
>
> Thanks
>
> Earl Robb
>
> -----Original Message-----
> From: SEAK, Teng-Fong [mailto:tfseak@f...]
> Sent: Monday, December 16, 2002 1:25 PM
> To: javascript
> Subject: [javascript] RE: limit on events NN4.6?
>
>
> Hmm ...... since I don't have NN 4.6x, I couldn't debug it. I
> suspect the problem is due to <form> and <table> being inside one
> another and <form> is too big to get handled properly.
>
> Maybe a quick and dirty solution is to divide the form into
smaller
> ones, like this :
>
> <tr>
> <form name=3D"SunForm">
> <td>....<input name=3D"SunReg" type=3D"text" tabindex=3D"1"
.....>......
> ......
> ......
> </form>
> </tr>
>
> So you have to change a bit your JS code. For example, you need
to
> use document.forms[dayArr[cntType]+"Form"]
> instead of
> fmName
>
> See what I mean?
>
> Or if you could tell me how I can get this old version of
Netscape,
> maybe I could install it and try to debug.
>
> > -----Message d'origine-----
> > De : Earl Robb [mailto:erobb@b...]
> > Envoy=E9 : lundi 16 d=E9cembre 2002 18:50
> > =C0 : javascript
> > Objet : [javascript] RE: limit on events NN4.6?
> >
> >
> > Yes I will, Im sorry I didnt understand. I have changed all
> > instances, I didnt know about that syntax, thanks!
> >
> > wokRow=3DfmName.elements[dayCalc].value;
> > fmName.elements[wday].value fmName.elements[wday].value.length
> >
> > I just tested it in NN 4.61 first row of events still wont
> fire for me
>
> > :-(
> >
> > Thanks
> >
> > Earl Robb
> >
> > -----Original Message-----
> > From: SEAK, Teng-Fong [mailto:tfseak@f...]
> > Sent: Monday, December 16, 2002 12:34 PM
> > To: javascript
> > Subject: [javascript] RE: limit on events NN4.6?
> >
> >
> > I've just revisited your page, but the source code is still the
> same.
> > Couldn't you try my advise to see if there's any improvement?
> >
> > > -----Message d'origine-----
> > > De : Earl Robb [mailto:erobb@b...]
> > > Envoy=E9 : lundi 16 d=E9cembre 2002 18:08
> > > =C0 : javascript
> > > Objet : [javascript] RE: limit on events NN4.6?
> > >
> > >
> > > Thanks for the response, yes I cleaned up the code. If
> you take all
>
> > > the input boxes out of the html table all the onkeyup events fire
> > > fine. When creating the table all the onkeyup events work fine
> > > until you start
> > > putting the fourth column of text boxes in the netscape
> > starts acting
> > > screwy. I have looked at netscapes bug report site and
> spoken with
> > > others. It appears no one has seen this before. I would
> be happy
> > > with a work around @ this point. I have even tried using part
> > of the boxes
> > > as onkeyup and part on onkeydown doesnt work.
> > >
> > > I'm not sure if netscape doesnt like to run java in html
> > tables or the
> >
> > > number of events or a combination of both.
> > >
> > > The code @ www.bondadapt.net/test/timNSFix.html should now be
> > > "clean". If I've missed anything please let me know.
> > >
> > > Thanks
> > >
> > > Earl Robb
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: SEAK, Teng-Fong [mailto:tfseak@f...]
> > > Sent: Monday, December 16, 2002 11:56 AM
> > > To: javascript
> > > Subject: [javascript] RE: limit on events NN4.6?
> > >
> > >
> > > There're some syntax errors in your code but I don't know
> > if they're
> > > relevant to your problem : you wrote var
> > fmName=3D(document.timeForm);
> > > then later on you wrote fmName[wday].value....
> > >
> > > The correct syntax should be fmName.elements[wday].value.... but
> > > of course, (I'm sure people will tell me immediately :)
> > ) browsers
> >
> > > are quite tolerant on this.
> > >
> > > > -----Message d'origine-----
> > > > De : Earl Robb [mailto:erobb@b...]
> > > > Envoy=E9 : vendredi 13 d=E9cembre 2002 16:28
> > > > =C0 : javascript
> > > > Objet : [javascript] limit on events NN4.6?
> > > >
> > > >
> > > > I have a "timesheet" that's a grid.
> > > > www.bondadapt.net/test/timNSFix.html
> > > > It runs fine in IE & NN6. In NN4.6 the top row doesnt capture
> > > > the onkeyup event. If I take all the text boxes out of the
> > > > table it
> > > runs fine in
> > > > NN4.6 but of course it makes for a really nasty display.
> > > >
> > > > Is there a limit to the number of onkeyup events you can
> > have on a
> > > > page in NN4.6 or does 4.6 have some sort of problem with
> > html tables
> > > > and Java?
> > > >
> > > > If anyone has a work around Im all ears!
> > > >
> > > > Thanks,
> > > > Earl
> >
>
>
>
>