JavaScript is not working on Internet Explorer 7. I typed a simple html program but the JavaScript is not running. Here is a simple program
<html>
<head>
<script>
function hello()
{
alert("Hello");
}
</script>
</head>
<body onload="hello()">
</body>
</html>
If you have a solution please reply

Try <script type="text/javascript">

I haven't worked on IE7 though.

> I typed a simple html program but the JavaScript is not running.
I guess that by 'not running' you mean a security alert which pops up at the top of the page saying it has blocked a script. If yes, then this is a common problem faced by users when running local scripts. Just click on that pop-up, select allow blocked scripts and you should be good to go.

There is also a way of permanently allowing blocked local scripts. I think this should help you out. If not, then post in the web browsers forum.