We are using javascript for passing time at sign in and sign out into the database and retriving that time from database and again refreshing the same window form where the sign in and sign out is clicked. For that we are using window.location.reload() but on some computers its working fine and on some its not showing the updated time for sign in and sign out. On some computers its showing updated time for sign in but not for sign out. So please tell me how to solve this problem. On all the computers enable javascript for browser check box is checked. Also this reload event is very basic event which should work all over the world same. I dont understand why this is not working so please guide me for the same. I tried with meta tag refresh but the behaviour is same.
we are using below mentioned script: $htm.='<script language="javascript"> function Ftime(test,stat,emp,grp) { t = test; //alert(t); s=stat; //alert(s) empl=emp; //alert(empl); grpid=grp; //alert(grpid); this.location.href = "http://192.168.0.37/passwordtool/jobboards.php?ftime="+t+"&status="+s+"&empid="+empl+"&gr="+grpid; this.location.href="http://192.168.0.37/passwordtool/jobboards.php"; } </script>'; echo $htm; Here the line mentioned below is used to refresh page but its not working on all computers this.location.href="http://192.168.0.37/passwordtool/jobboards.php"; I tried with window.location.reload(); but its not working for all computers. tried with window.location="http://192.168.0.37/passwordtool/jobboards.php"; but its not working for all computers.