JavaScript API??

J

JS

Is there an API for JavaScript like for normal Java? I would like to which
methods it possible to call on a "document" object as an example.
 
A

Andrew Thompson

Is there an API for JavaScript like for normal Java?

No, or rather, there are several of them.
..I would like to which
methods it possible to call on a "document" object as an example.

Ask on a JS group..
<http://groups-beta.google.com/group/comp.lang.javascript>

But the short answer is 'feature detection', once you know
what methods/elements *might* be available, you can ask the
browser itself if it supports them.

[ Now get thee to a JS group! This is off-topic for c.l.j.p. ]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top