Solved

comparison of scripting languages - best one for internet use?

Posted on 2003-11-13
2
993 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

752 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