Topic: Netscape 6 event handling |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: USA! USA! USA! |
posted 10-04-2001 17:06
I am trying to figure out why NN6 onchange and onkeypress event handlers don't cancel the default actions when I return false. The simplified example below shows the situation: if you type any non-digit chars in the field, you should get an error message when you blur and not be able to leave the field on the first attempt. I have tried using event.preventDefault() as well to no effect. Does anyone out there know if this is a bug in the browser? I would prefer [this time] that I were wrong so I could move on. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-04-2001 22:11
Mozilla (NN6) doesn't interpret most events correctly. Nevertheless, form validation can still be done in Mozilla. Take a look at this exmaple that I created a long time ago: http://www.max.co.yu/ozone/form_validation.html |
Bipolar (III) Inmate From: USA! USA! USA! |
posted 10-04-2001 22:22
I was afraid of that. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-05-2001 01:39
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-05-2001 07:58
Yep, everything said is true... |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 10-06-2001 01:12
hmmm. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-06-2001 01:20
MAX's World is technically much better web site than previous one (completley coded in PHP4 with MySQL backend). For a start, new web site works in *all* major web browsers (NN4, NN6, Mozilla, MSIE, O5, etc.) It has more content than before (more wallpapers, online journal, cafe, etc.), but some things are not completely uploaded *yet*. Oh, and one small detail - it has randomizlable themes, so next time when you come you'll see different color themes. And the list goes on and on. Old web server (max.co.yu) is now used only for heavy file storage. Also, it points to the new address... |