Published by Fabian on 20 Jul 2009 at 11:04 am
Proposal for a new Javascript Event
Fresh from my daily coding:
<div onlick="nextItem()">next</div>
took a while for me to realize why it did not work as desired. However, wouldn’t that be a good event for some adult content sites?
David on 20 Jul 2009 at 11:32 am #
Took me a minute to see the point but stuff like this happens to all of us. So what’s the moral of this? We need more intelligent HTML autocomplete in our IDEs
Fabian on 20 Jul 2009 at 12:45 pm #
To be fair: Eclipse did mention this to me:
“undefined attribute name: (onlick)”
but I usually ignore JSP validator messages because they are very often misleading, especially if you are working with included fragments.