The moose likes HTML, CSS and JavaScript and the fly likes Alert problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Alert problem" Watch "Alert problem" New topic
Author

Alert problem

Anu Jv
Greenhorn

Joined: Apr 02, 2003
Posts: 14
Hi,
In IE when this page is loaded alert window does not pop up. Can u pls tell what could be the reason? This works well in Netscape. However when an alert box is popped up from a click event of a button it works fine.
Thx
Anu
////////////////////////////
<html>
<head>
<script language="JavaScript">
alert('Hai');
</script>
</head>
<body>
<H1> Hai</H1>
</body>
</html>
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Are you running any pop up blocker software on IE? That might be the cause of it.
Anu Jv
Greenhorn

Joined: Apr 02, 2003
Posts: 14
Thanks. You are right
 
 
subject: Alert problem
 
Threads others viewed
Help required
NETSCAPE 6.2 & FRAMES
xmlObject
Opening a child window
jQuery getJSON question
developer file tools