SetTimeout and SetInterval - since when?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Mark Bram

    SetTimeout and SetInterval - since when?

    Howdy All!

    I would like to find since when did different versions of browsers and/or
    JavaScript/JScript/ECMAScript support the SetTimeout and SetInterval
    methods.. this is for compatibility reasons.

    Thanks for any advice!

    Rob
    :)


  • Lasse Reichstein Nielsen

    #2
    Re: SetTimeout and SetInterval - since when?

    "Robert Mark Bram" <relaxedrob@REM OVE.THIS.optusn et.com.au> writes:
    [color=blue]
    > I would like to find since when did different versions of browsers and/or
    > JavaScript/JScript/ECMAScript support the SetTimeout and SetInterval
    > methods.. this is for compatibility reasons.[/color]

    The functions setInterval and setTimeout are not ECMAScript, but are
    part of the (non-standardized) browser runtime environment.

    From what I can see:
    setTimeout : existed in Netscape 2!
    setTimeout : introduced in Netscape 4 (same version as anonymous functions)
    Both exist in Opera 4 too. I can't check older versions of IE, so I'll have
    to rely on documentation. Microsoft says that setInterval was available in
    IE4 and setTimeout in IE3.

    I can't imagine any new browser not understanding both.

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    Working...