Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

comparison of scripting languages - best one for internet use?

Posted on 2003-11-13
2
Medium Priority
?
1,002 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 500 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
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…
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…

730 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