Re: window.onclick in IE and Gecko agents



Luke Matuszewski wrote:
Ok i know the answer:
See the table below:

A reference to where the table came from would be helpful, or did you make it yourself?



Event Bubbling Variations for Listing
Event Handler Location WinIE4+ MacIE4+ NN6+/Moz1+/Safari
button                           yes        yes          yes
form                              yes        yes          yes
body                             yes        yes          yes
HTML                           yes        no            yes
document                     yes        yes          yes
window                        no          no            yes


HTML 4.01 does not specify an onclick attribute for the HTML element, the body element would be a more suitable location.



--
Rob
.



Relevant Pages

  • Re: DOM differences between IE/NN and Firefox
    ... Are you saying the DOM does not specify this? ... Whether you move your mouse from a child of the body to the body or outside of the body to the html element depends on various things like how far the body stretches, on the margins and paddings of elements and I think on the speed of mouse movements. ...
    (comp.lang.javascript)
  • Re: Any Idea for IE and Opera - Its working with Firefox ...
    ... nothing about the html element in the css ... Does this canvas have a default colour, ... If you specify the background ... sort of multi-coloured in this picture, abstractly so, ...
    (alt.html)
  • <input type=file> in Japanese
    ... Will a Japanese version of IE display the "Browse..." ... automatically when the html element is used? ... need to specify something specific in the HTML? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: SizeToContent for IE
    ... Have you considered just creating a new body element and then ... replacing the old body node with the new body element and set body ... difference is between an HTML element and an HTML node. ...
    (microsoft.public.scripting.vbscript)