|
Posted by Michael Winter on 11/16/94 11:29
On 17/10/2005 21:49, Colin McKinnon wrote:
> bonehead wrote:
[snip]
>> Can I add an onclick attribute to the form,
>
> No - forms don't have an onclick method. Buttons and other things do
> though.
Incorrect. FORM elements do dispatch click events and fire click
listeners. In fact, most elements do.
Search a DTD for occurrences of the %events; parameter entity reference
(including any other entities, like %attr;, that use it). You'll find
that it comes up quite frequently.
The %events; parameter entity definition also defines other event types,
including those for mouse and keyboard interaction. The remaining types
- blur, change, load, submit etc. - are limited to certain specific
elements.
[snip]
Mike
--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Navigation:
[Reply to this message]
|