2 tags for javascript

The Widgetopia portlet demonstrates the various display paradigms available to the developer through the use of Teradata Viewpoint widgets.

49 54

The following code works fine on most browsers but IE has a problem with it. Can you figure it out?

<head>
<title>Puzzler1</title>
</head>
<body onload="addClickHandler()">
<button id="myButton">Click Me</button>

<script>
function clickHandler(){
   ...
}

function addClickHandler(){
   myButton = document.getElementById("myButton");
   myButton.onclick = clickHandler;
}
</script>
</body>