• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Javascript API

 
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to get in to Javascripting and AJAX. I am looking to build a list of good references and API documents. Currently a bit confused about Javascript DOM and W3C DOM etc.

I'd like to start with this link.

What is this API?
 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can try this link for the Gecko based browsers like Firefox.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The http://faq.javaranch.com/java/JavascriptLinks page contains a number of useful links regarding JavaScript. You could start with "VooDoo's introduction". The Home Page, Reference and Guide at mozilla.org are also very useful.

The section on AJAX links to some introductory articles on that which should get you started once you know a bit of JavaScript.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Mozilla links on the FAQ should be good, they normally have the IE quirks listed with the code.

Eric
 
Gamini Sirisena
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks all,
The Mozilla site is quite informative and seems to have all information necessary .

Some of my doubts were cleared from the following...


In the DOM, the document object provides a general way to represent HTML, XHTML, and XML documents. Document objects implement the general DOM Core document interface (which itself implements the Node interface).

In addition to the generalized DOM Core document interface, HTML documents also implement the DOM HTMLDocument interface, which is a more specialized interface for dealing with HTML documents (e.g., document.kookie, document.alinkColor). Methods listed here that are part of this more specialized interface have an asterisk (*) next to them.



So the DOM in the Mozilla browser seems to implement a number of interfaces.
The site doubles up as a good reference to be used as an API.

Now another question..

How does the Mozilla site hold up with compatibility across browsers? I mean to what extent does the API reference in this site compatible with IE etc.? Are there IE etc. specific sources out there like this?
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A lot of the time it has code snipplets at the bottom saying this is how you do it in IE.

Eric
 
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic