<script for event>
Works in IE4
Button idSecond Button id (no)Button nameSecond Button name
IE4: Second Button id has not fired
But document.all(htmlFor).length is 4
document.getElementsByName(htmlFor).length
What if we update script? Unknown runtime error
Unknown runtime error
Modern browsers support only for="window" event="onload", Firefox
for="window" event="onload"
Interestingly <script for="body" does not work
<script for="body"