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

Mention when to use function procedures and what are its characteristics?

850


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1763


Differentiate javascript and vbscript?

774


what is resorceallocation

1973


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

1101


how to set one column as primary key in QTP and fetch values accordingly

2086


give me any information abou vb script books learn quckly

1865


who will create the object?

1925


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2725


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

730


How to open excel in vb script?

781


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1850


Explain about arrays in vb script?

806


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

1777


How to create a function in vbscript?

853