<div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
Could we just support both? It really depends on how you read it, but<br>
onkeyup and keyup should be interchangeable. I guess implementations<br>
could add this as an extension (to avoid such typos).<br>
</div></blockquote>
<br>
I&#39;d originally argued for supporting the &quot;on&quot; version of the names, but the argument that carried the day was that the actual name of the event would be both more concise, and more accurate.<br>
<br>
The idea of supporting both is interesting (be liberal in what you accept, after all), I don&#39;t think that it would cause any name conflicts.<br>
<br>
However, at least in this case, the documentation is quite clear on this point:<br>
<br>
The DOM event name is the actual DOM event name (for example: &quot;click&quot;) as opposed to (for example: &quot;onclick&quot;).<br>
<br>
I suspect, however, it may be better to wait and see if this is a pain point for users...  It&#39;d be easy to add this later without endangering existing code.</blockquote><div><br>I supposed we could wait. However, the &quot;on&quot; prefix has been so ingrained in developers minds that it is almost one of those things that developers subconsciously add. For instance, in IE, the attachEvent() method has always required the &quot;on&quot; prefix in the event name, even though the actual DOM event name is the root word (&quot;click&quot; vs &quot;onclick&quot;).<br>
<br>Anyone else on the EG have any thoughts about supporting both derivations today?<br><br>-Dan<br></div></div><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br><a href="http://in.relation.to/Bloggers/Dan">http://in.relation.to/Bloggers/Dan</a><br><br>NOTE: While I make a strong effort to keep up with my email on a daily<br>
basis, personal or other work matters can sometimes keep me away<br>from my email. If you contact me, but don&#39;t hear back for more than a week,<br>it is very likely that I am excessively backlogged or the message was<br>
caught in the spam filters.  Please don&#39;t hesitate to resend a message if<br>you feel that it did not reach my attention.<br>