Hi I have a add record page by default and if the user successfully added new records, a javascript messagebox will pop out which my code something goes like this:
echo "<script type='text/javascript'> window.alert('Schedule successfully added'); window.location='schedulelist.php'; </script>";
My problem is when the messagebox pops out, the page content becomes unorganized or the content is not fully loaded which based from my observation it is caused by the messagebox. Any idea what seems to be the problem?
Thanks