Solved

comparison of scripting languages - best one for internet use?

Posted on 2003-11-13
2
991 Views
Last Modified: 2010-04-06
Can someone explain to me the difference between JavaScript, VBScript, and JScript, at a very high level?  I am trying to figure out which one I should use on an internet web site that I'm building with Microsoft FrontPage.

I think I have to use JScript so that my website will be compatible with Netscape Navigator, which uses JavaScript.  Is that right?  

If you have to use JScript/JavaScript for compatibility, would anyone ever use VBScript, and if so, why?

Thanks!

Wendy
0
Comment
Question by:wendy326
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
prohacx earned 125 total points
ID: 9739811
Hi there!

VBScript and JScript are both Microsoft products, so using them in browsers like Netscape / Opera will not result in much... They are used because a lot of people are using IE.

When you want to program for the widest audience, use Javascript.

Also, you have to differentiate between server side languages and client side languages.

All three (JScript, VBScript and JavaScript) can be used on both the client side and the server side. VBScript is for example the default scritping language in ASP pages.

I mostly program ASP pages and program everything that is server related (connection to the database, ...) in server side VBScript. For all client side modifications (hiding divs, ...), I use Javascript.

It does not matter what server side language you use, because all of them will generate HTML and that's the only thing the browser needs. The Javascript inside the HTML is passed onto the browsre as well and executed when a user does some action (for example: click a button or hover over some object or so...)

So, the baseline is: use any server side language you want. For client side stuff, I strongly suggest Javascript.

Good luck!

0
 

Author Comment

by:wendy326
ID: 9742817
Thanks for a very clear and concise answer - that's exactly what I needed to know.  Looks like I am about to learn Javascript!

Wendy
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question