What is the difference between Javascript & Vbscript?

Answer Posted / gomathiparamasivan

JavaScript:
JavaScript runs on any browser.
It uses curly braces to denote functions.
JavaScript is client-side validation.
It is interpreted by the server(specifically,IIS)

VB Script:
VB Script runs only on Internet Explorer.
It uses Function and End Function to denote functions.
VB Script for server-side validation.
It is interpreted(and statements executed) by a user's
browser.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add actions in driver script to run those actions in QTP?

1520


What is the event handling in vbscript?

563


Why is it recommended to close the database connection every time after the work is completed?

501


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2060


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

549






Explain the .wsf files?

533


Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

1442


How to throw an error in vbscript?

605


Which keyword is used to declare a variable in the vbscript language?

529


In what way program "hello world" you can write in vbscript?

647


Differentiate javascript and vbscript?

567


Explain the scope of the variables using dim, public, and private keywords respectively.

720


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

1588


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

534


What are the data types supported by vbscript?

579