Feedback Need help with a Forums feature, noticed a broken link (or other site problem) or just have a general question - this is the spot

JScript error from homepage with IE 3.0

Thread Tools
 
Search this Thread
 
Old 09-02-1999, 08:50 AM
  #1  
Martin Simmons
Guest
 
Posts: n/a
Default JScript error from homepage with IE 3.0

With IE 3.0, the homepage gives:

Microsoft JScript runtime error

[Line: 29] Object doesn't support this property or method


It looks like this version of IE doesn't support String.split(). Perhaps you can use toDay.getYear() instead (this also avoids problems at the end of
year in non-GMT timezones).

__Martin
Old 09-03-1999, 09:27 PM
  #2  
Scott D.
Guest
 
Posts: n/a
Default Re: JScript error from homepage with IE 3.0

Matt had some other guy write the home page code for him. This dude must have a fixation with getting the 4-digit year by referencing GMT. I told Matt of the problem with end-of-year in non-GMT time zones. Now we learn that the split method isn't supported by IE 3.

I suggested that they use the following code. It yields the 4-digit year on *any* browser, and doesn't need to use GMT or "split".

var theYear = theDate.getYear();
if (theYear < 1000) theYear += 1900;
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
SJGQ5
Q5/SQ5 MKI (8R) Discussion
6
08-11-2022 06:51 AM
acryan7377
Q5/SQ5 MKI (8R) Discussion
20
10-04-2015 08:02 AM
Able89
A6 / S6 (C5 Platform) Discussion
1
09-28-2015 05:35 PM
imag1ne
A6 (C7 Platform) Discussion
1
09-28-2015 01:05 PM
Nathaniel411
Audi allroad
0
09-26-2015 11:30 AM



Quick Reply: JScript error from homepage with IE 3.0



All times are GMT -8. The time now is 04:33 AM.