![]() |
| ||
| Works in Firefox, not in IE7 Hi, I have written a php/javascript code to check a database for a variable, which is 15 seconds to display something, or 30 seconds. Then it sends the variable to javascript to run the countdown. It works in firefox, but when I try it in IE7, the countdown starts at 10 seconds no matter what. <script language="JavaScript" type="text/javascript"> |
| ||
| Re: Works in Firefox, not in IE7 Ok, still no replies. Well, then does anyone know of another way I could do it? |
| ||
| Re: Works in Firefox, not in IE7 Ok so I tested it in IE 7 again, and it still starts the countdown at 9(or 10 - 1). Here is the source code that the browser gets. Why won't it work? <script language="JavaScript" type="text/javascript"> |
| ||
| Re: Works in Firefox, not in IE7 You need to post this question in javascript forum. I am sure you ll get better help there. |
| ||
| Re: Works in Firefox, not in IE7 gotta be kidding about this one 180 seconds, now on up to you. <META HTTP-EQUIV="Refresh" CONTENT="180"> works everywhere. u no need java everytime |
| ||
| Re: Works in Firefox, not in IE7 I took the code you pasted above and tested it locally with IE7 and it started the countdown at 30... check to make sure you don't have an initial value set in your form 'document.frm.clock' element... or aren't setting it anywhere else in the document as an aside, I would recommend using semicolons at the end of your javascript lines...it makes for much cleaner code. |
| ||
| Re: Works in Firefox, not in IE7 what is this script for if I may ask. because I'm searching the same type of script I think. |
| All times are GMT -4. The time now is 12:56 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC