W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2006

W3C DOM and personal opinion...

From: David BERCOT <david.bercot@wanadoo.fr>
Date: Mon, 17 Jul 2006 15:35:25 +0200 (CEST)
Message-ID: <32500818.1153143325846.JavaMail.www@wwinf1630>
To: www-dom@w3.org


I'm new on this list so, first of all, I have to present myself.
I'm French and I'm an Internet developer for a long time...
I am accustomed with MS DOM and I was very surprised to discover so many differences between the two DOMs ;-)

I develop a form where I'd like the user to be blocked in an input zone if a condition is met.
With IE, it's easy : on the onchange event, I do a 'return false' and everything is ok !!!

In Firefox (which is W3C DOM compliant), I've discovered that a lot of events are not cancelable !!!
[there is a bug with Firefox which says that onchange event is cancelable but, of course, can't cancel it]

I don't understand why all these events are not cancelable. If they were, it would give another possibily for the developer.

May be I don't have a global vision on this subject...

Do you have any elements to explain me why the W3C DOM was conceived like that ?

Thank you very much.

Received on Tuesday, 18 July 2006 02:13:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:13 UTC