SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot Bruce Lee's Avatar
    Join Date
    Jan 2005
    Location
    Singapore
    Posts
    198
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Where can i get the Javascript W3C Standards??

    Hi,
    During development i used document.all in many places.
    but later i found that its not a W3C DOM standard.
    instead we should use doucument.getElementById ...
    How do i know which methods and properties are W3C DOM standards.
    Where can i get them?
    early reply is appreciated.
    Happy Coding!!!
    Bruce Lee.

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    w3c doesn't set javascript standards. The standards are set by the ECMA--the European Computer Manufacturing Association, which is why sometimes you might see javascript refered to as ECMA script.

    How do i know which methods and properties are W3C DOM standards.
    That shouldn't really be your main concern. Your main concern should be what different browsers actually allow you to do. Just because something is an ECMA standard doesn't mean IE adheres to it. Get Javascript: The Definitive Guide as an overall reference as well as a DOM reference. There is an overwhelming consensus that it is the best reference on Javascript. You can get a like new copy in the used books on amazon for about $20, and it's normally something like $45--I think the latest edition is the 4th edition.

  3. #3
    SitePoint Wizard stereofrog's Avatar
    Join Date
    Apr 2004
    Location
    germany
    Posts
    4,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  4. #4
    SitePoint Zealot Bruce Lee's Avatar
    Join Date
    Jan 2005
    Location
    Singapore
    Posts
    198
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks guys .
    Happy Coding!!!
    Bruce Lee.

  5. #5
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    W3C DOM standard v. javascript standard

    ooops.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •