• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Javascript API

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and iconoclast
Posts: 24203
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The hint on this thread may give you enough information without using Java.
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx Ulf n Eric,

I'll check out the links and let U know if it wox.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic