aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Javascript API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript API" Watch "Javascript API" New topic
Author

Javascript API

Gamini Sirisena
Ranch Hand

Joined: Aug 05, 2008
Posts: 347
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?
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
You can try this link for the Gecko based browsers like Firefox.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39544
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
The Mozilla links on the FAQ should be good, they normally have the IE quirks listed with the code.

Eric
Gamini Sirisena
Ranch Hand

Joined: Aug 05, 2008
Posts: 347
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
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
A lot of the time it has code snipplets at the bottom saying this is how you do it in IE.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript API
 
Similar Threads
Using applet to write to HTML page
Image Construction
How does DOM work ?
tab movement using java.
what is DOM in javascript?