I have tried getting this javascript to work in firefox but it just wont. Is there a reason and is there a way to sort it?
| Code: |
| <form name="MyForm" method="POST" action="display.php">
<input type="hidden" name="ThisPageURL" value=""> <input type="hidden" name="TimeZoneOffset" value=""> </form> <script type="text/javascript" language="JavaScript"><!-- document.MyForm.ThisPageURL.value = document.URL; var visitortime = new Date(); document.MyForm.TimeZoneOffset.value = visitortime.getTimezoneOffset(); document.MyForm.submit(); //--></script> |
