toString compatibility, and other javascript functions...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dot net work

    #1

    toString compatibility, and other javascript functions...

    Is toString() compatible with all browsers?

    I don't know where to look on the internet to find out what javascript
    functions are ok to use with what browsers.

    I tried www.quirksmode.org but as I am a javascript newbie I find the
    site a bit confusing and difficult to navigate around. I have also
    tried other sites, and find them equally confusing - I'm sure they are
    good for people who understand what they are searching for though.

    Thanks, regards, dnw.
  • RobG

    #2
    Re: toString compatibility, and other javascript functions...

    Dot net work wrote:[color=blue]
    > Is toString() compatible with all browsers?[/color]

    It should be "compatible " with any browser that supports JavaScript.
    However, that is no guarantee that it actually is. Needles to say, not
    all users have JavaScript turned on, and not all browsers support
    JavaScript and some support old versions (usually old browsers).

    All you can do is test all common browsers that implement JavaScript
    and see what happens.
    [color=blue]
    > I don't know where to look on the internet to find out what javascript
    > functions are ok to use with what browsers.[/color]

    There are various resources, but the best way is to actually test each
    browser.

    Another way is to keep an eye on HTML, CSS and Javascript news groups
    to see the issues that arise. Given that each browser has a new
    version about every year (except IE, which seems to have stalled other
    than for security fixes) the quirks change frequently. You must test,
    test, test.
    [color=blue]
    > I tried www.quirksmode.org but as I am a javascript newbie I find the
    > site a bit confusing and difficult to navigate around. I have also
    > tried other sites, and find them equally confusing - I'm sure they are
    > good for people who understand what they are searching for though.[/color]

    Quirksmode use frames, which makes bookmarking a pain. Mozilla.org
    provide some useful links here:

    <URL:http://www.mozilla.org/js/>

    You just have to keep plodding along and come back with questions as
    you hit problems.

    --
    Rob

    Comment

    • dotnw@hotmail.com

      #3
      Re: toString compatibility, and other javascript functions...

      Thanks Rob, I appreciate your response.
      -dnw.

      RobG wrote:[color=blue]
      > Dot net work wrote:[color=green]
      > > Is toString() compatible with all browsers?[/color]
      >
      > It should be "compatible " with any browser that supports[/color]
      JavaScript.[color=blue]
      > However, that is no guarantee that it actually is. Needles to say,[/color]
      not[color=blue]
      > all users have JavaScript turned on, and not all browsers support
      > JavaScript and some support old versions (usually old browsers).
      >
      > All you can do is test all common browsers that implement[/color]
      JavaScript[color=blue]
      > and see what happens.
      >[color=green]
      > > I don't know where to look on the internet to find out what[/color][/color]
      javascript[color=blue][color=green]
      > > functions are ok to use with what browsers.[/color]
      >
      > There are various resources, but the best way is to actually test[/color]
      each[color=blue]
      > browser.
      >
      > Another way is to keep an eye on HTML, CSS and Javascript news[/color]
      groups[color=blue]
      > to see the issues that arise. Given that each browser has a new
      > version about every year (except IE, which seems to have stalled[/color]
      other[color=blue]
      > than for security fixes) the quirks change frequently. You must[/color]
      test,[color=blue]
      > test, test.
      >[color=green]
      > > I tried www.quirksmode.org but as I am a javascript newbie I find[/color][/color]
      the[color=blue][color=green]
      > > site a bit confusing and difficult to navigate around. I have also
      > > tried other sites, and find them equally confusing - I'm sure they[/color][/color]
      are[color=blue][color=green]
      > > good for people who understand what they are searching for though.[/color]
      >
      > Quirksmode use frames, which makes bookmarking a pain. Mozilla.org
      > provide some useful links here:
      >
      > <URL:http://www.mozilla.org/js/>
      >
      > You just have to keep plodding along and come back with questions[/color]
      as[color=blue]
      > you hit problems.
      >
      > --
      > Rob[/color]

      Comment

      Working...