In my php file
echo "<script>alert('Username/password pair is invalid.Please try again.')</script>";
echo"<script language='javascript'>window.location.href='login.php'</script>";
I am displaying message like this but when message is displayed background php design is blank and then again login page display.
I want show message like http://www.bin-co.com/javascript/examples/print.php#
when we click on Create Alert message is display with background php design
How to do this???