0

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

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by ~s.o.s~
0

> 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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.