messagebox javascipt problem
Posted: Tue Mar 10, 2009 10:18 pm
When the javascript messagebox pops out, my page display becomes unorganized or half of the content is loaded only but when I click ok in the messagebox and redirect it to another page everything returns to normal again. Any idea what is the problem? Here is my code
Thanks
Code: Select all
echo "<script type='text/javascript'> window.alert('Schedule successfully added'); window.location='schedulelist.php'; </script>";
Thanks