This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript API

 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I know this is not the correct place to post this. But I did not find a suitable section for this so I posted hear.

I want to find the javascript API
We can find the java API (all the class objects variables methods we can use in java) in sun web site. Likewise I want to know the where I can find an javascript API

Thank You

Sameera
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sameera Abeysinghe:

I know this is not the correct place to post this. But I did not find a suitable section for this so I posted hear.


How about the HTML and JavaScript forum? I'll move this there for you.
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Try http://www.devguru.com/technologies/javascript/

I use this most of the time to find what I am looking for in the Javascript API, its quite helpful, btw what exactly are you looking for?
[ February 23, 2006: Message edited by: Liyaquat Ali ]
 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some thing similar to this

http://java.sun.com/j2se/1.5.0/docs/api/

A javascrpt API
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I know, we all would love somethings similar2the Java API pages

But life is cruel, we all have2make do with what we have... the link I posted is what I always use, I have not found anything better and now I M used to it so its not a problem.

U can mayB try some online book or ebokk for javascript but that wouldn't be in a jav api form either.

So what is it that you are trying to do, let us know, sombody here might know how to get it done.
[ February 23, 2006: Message edited by: Liyaquat Ali ]
 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank a lot

Your link is very useful.
I work in a web development company so we use lot of javascripts. What we do is simply get them from sites that give free.
But if there is a api we can develop our own.

One more thing can you tell me a javascript that detects JRE version on the client machine. This has to be 100% javascripts. No applets must be involved.

Thank You
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To detect JRE version, Basically you need to employ two approaches for IE and NS.

In IE you need to try to instantiate a small applet
(not your production applet) in order to see if browser
can do it. if the browser can do it, you can make a
call applet from JavaScript in order to find version of
JRE (as well as a host of other things).

Use this link:-

http://forum.java.sun.com/thread.jspa?threadID=168544&messageID=613030
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The hint on this thread may give you enough information without using Java.
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code on the link Ulf mentioned wox beautifully on FireFox, but doesn't work on IE??? Any Suggestions?

Heres the code:-

<script language="JavaScript1.1">

for (i=0; i<navigator.plugins.length; i++) {
document.writeln("Name: <b>"+navigator.plugins[i].name+"</b><BR>"+"Filename: "+navigator.plugins[i].filename+"<BR>"+"Description: "+navigator.plugins[i].description+"<BR>");

for (j=0; j<navigator.plugins[i].length; j++) {
var mimetype = navigator.plugins[i][j];
document.writeln("MIME type "+(j+1)+": "+mimetype.type+": "+mimetype.description+"<BR>");
}
document.writeln("<BR>");}
</script>
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Interesting. I don't use IE much, so I never noticed this. But the good folks at Apple have an article on how to detect plugins in IE. The example shown there only detects a few plugin types, but it looks like it can be extended to cover Java as well.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the documentation links you could need: http://www.codingforums.com/showthread.php?t=17254

Eric
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Ulf n Eric,

I'll check out the links and let U know if it wox.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic