473,385 Members | 1,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

jscript and/or javascript

I'm a bit confused ...javascript and jscript are the same thing ?
javascript and java are related..........
javascript in windows differs from javascript in linux....?
Sorry,... if some question could be stupid .
Many thanks.
Aug 21 '06 #1
4 1868
Lando wrote on 21 aug 2006 in comp.lang.javascript:
I'm a bit confused ...javascript and jscript are the same thing ?
No, but nearly so:

jscript is MS implementation of ECMA javascript

All implementations of javascript are different in minor detail.
javascript and java are related..........
No!!!!

Only in name.

Even: never write Java script [you did not], when you mean Javascript.
javascript in windows differs from javascript in linux....?
It depends on the program/client.

IE uses jscript, ASP can use jscript serverside, wscript can use jscript.

Firefox uses and Netscape used sorts of ECMA javascript, etc.

But the detail differences are m9nor when you are starting to learn JS.
Sorry,... if some question could be stupid .
Not at all [be sorry I mean], if it were many of us would love that.

Propbably they will critisize me
for being to simplistic in my answer above.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Aug 21 '06 #2
Lando <la*******@hotmail.comwrites:
I'm a bit confused ...javascript and jscript are the same thing ?
JavaScript is a language created by Netscape Corp. for scripting
their browser (Netscape 2) and web server.
JScript is a compatible language created by Microsoft Corp. for
making their browser (IE 3) compatible with Netscape's.

The languages were not completely identical ("embrace and extend"
on both sides), but they had a core that was standardized into
ECMAScript.

Parts of the environment that JavaScript/JScript scripts were
executed were also standardized as the W3C DOM.

Both browsers then converged on the standardized language, and
they are almost identical now (except for the occasional bug).

Other browsers also implemented an ECMAScript compatible language,
usually not giving it any name, but claiming to support "javascript".
javascript and java are related..........
Not really.

At the time JavaScript was created, Java Applets seemed to be all the
craze, and JavaScript was marketed as a way to communicate between
web pages and applets - scripting the Java applet. With permission
from Sun, the creators of Java, Netscape called the language JavaScript
as a marketing ploy. Then people realized that they didn't need the
applets any more, and that connection was lost.

People have gotten confused and thought Java and Javascript were
somehow related ever since. May those marketing people be damned
to eternity in customer support!
javascript in windows differs from javascript in linux....?
Not necessarily. There are different ECMAScript implementations.
The one in Mozilla/Firefox is the same across all platforms
where it runs, but differs from the on in IE, even when both
run on Windows.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Aug 21 '06 #3
Lando wrote:
I'm a bit confused ...javascript and jscript are the same thing ?
javascript and java are related..........
javascript in windows differs from javascript in linux....?
Sorry,... if some question could be stupid .
Many thanks.
Yes, it is all very confusing.

Java:
Java is a fullflegded serious programming language, strongtyped, made by
Sun.
It became popular because of (and here starts the confusion) one special
use: as an applet in a webpage.
Java/applets was one of the first things that could make your webpage come
alive by programming interaction into it.

Then Netscape developed a language that they dubbed Javascript, probably
taking a ride along with Java which was becoming very popular.

So Java and Javascript have nothing to do with each other. oth are object
oriented (OOP) but that about it.

Microsoft (M$) released with their IE3 an implementation of Javascript named
JScript. Very M$, confusion without reason. :-/

EMCAScript is the official name for JavaScript.

Futhermore: JavaScript is NOT different on *nix and Windows, but every
BROWSER has its own subset and strange/faulthy implementation.
So it is a browserthing.
You can expect that your JavaScript runs the same on the same version of
Firefox on W$ and *nix.

The big trouble with JavaScript is the browser it runs in. Does it support
A? and B? etc.

Hope this helps a bit.
Also: Just go to www.wikipedia.com and look up JScript, EMCAScript,
JavaScript, Java, etc. It contains a good overview for (confused) starters.

Regards,
Erwin Moller
Aug 21 '06 #4
Lando <la*******@hotmail.comwrote:
>I'm a bit confused ...javascript and jscript are the same thing ?
Yes, basically. JScript is Microsoft's implementation of Javascript.
>javascript and java are related..........
No. They are totally different. The name confusion goes all the way
back to Netscape trying to make their scripting language sound cool by
associating it with Sun's new Java language.
>javascript in windows differs from javascript in linux....?
No! Javascript is executed by the browser (usually), and runs the same
regardless of what OS the browser is being run on. There are some
differences between browsers. Nowadays, those differences are not huge
and can be gotten around.

--
Tim Slattery
Sl********@bls.gov
Aug 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

29
by: Christopher Brandsdal | last post by:
If I have a .ASP page that runs JScript code - is it possible to include an ..ASP page that runs VBscript???
20
by: Harag | last post by:
Hi All. I'm stating out doing some web developing. I was wondering which of the server side languages should I concentrate on and learn. I Know CSS, HTML, T-SQL I can look at the client...
1
by: TopDawg044 | last post by:
I continue to lose Javascript functionality in any browser I use under WinXPPro...(IE6, Moz 1.4, NS 7.1...)it is now at the point where I'm unable to access my school sites which use jscript and...
7
by: Dr John Stockton | last post by:
The following DOS prompt command line, in a Win98 DOS box, cscript //nologo ~tmp.js executes file ~tmp.js as javascript/Jscript. The following batch file, similarly run, executes the same....
6
by: Berislav Lopac | last post by:
One of the banes of contemporary JavaScript programming for the Web is the differences between JScript and JavaScript -- specifically, a number of non-standard, but useful objects and/or methods...
14
by: John Bentley | last post by:
Note this is crossposted to comp.lang.javacript and microsoft.public.dotnet.scripting. After some Googling and FAQing my understanding of these terms is, crudely: Javascript (3 different...
4
by: Drew | last post by:
I need to do some client-side scripting for my Intranet and was wondering if Jscript or Javascript would be better? Everyone here uses IE 5.0 +, so I need to make a decision... Thanks, Drew
6
by: RFS666 | last post by:
Hello, After I posted yesterday "using C# class in jscript", I have a new problem: I have a C# class - DBResult - that contains (and other variables) a string array (and other variables), that...
7
by: RFS666 | last post by:
Hello, I would like to use variables with a type in jscript.NET. I declare them as follows: var x : double = 5.03; This doesn't work in my script, that I write to the page in codebehind with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.