hai iam using the below script to give alert message in php its work in ie and opera but not work in firefox.
after submitting the page its stuck in firefox.
if i use header('location:');
it will directly jump the related page without any any alert message...
any solutions............
?>
<script>alert("The record has been successfully Updated ")</script>
<script>window.navigate('Studentdetail.php')</script>
<?php
unable to get back in mozila firfox
Moderator: General Moderators
-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
Re: unable to get back in mozila firfox
Firefox doesn't support the (non-standard) window.navigate method.
The bit that nobody reads because they don't care:
The method you're using is antiquated and ugly. It looks nicer when you go directly to the next page (Studentdetail.php) and display whatever message you want there instead. Display it in HTML, not as a JavaScript message box.
Code: Select all
<script>document.location.href = 'Studentdetail.php';</script>The bit that nobody reads because they don't care:
The method you're using is antiquated and ugly. It looks nicer when you go directly to the next page (Studentdetail.php) and display whatever message you want there instead. Display it in HTML, not as a JavaScript message box.