Difference between VBScript and JavaScript

      S.No   VBScript                            JavaScript

      1      Definition:                         Definition:
             VBScript is an Active Scripting     JavaScript is an object-oriented
             language,which      uses    the     scripting language used to enable
             Component Object Model to           programmatic access to objects within
             access     elements    of   the     both the client application and other
             environment within which it is      applications.
             running.

      2      Who developed ?                   Who developed ?
             VBScript is developed          by JavaScript is developed by Netscape.
             Microsoft.

      3      Client-side      /   Server-side Client-side / Server-side scripting
             scripting language:               language:
             It is both Client and server side It is client side scripting language.
             scripting language.

      4      Case sensitive or not:              Case sensitive or not:
             It is not case sensitive.           It is case sensitive.

      5      Runs on which browser ?             Runs on which browser ?
             VBScript runs only on IE            Javascript runs on any browser

      6      Default scripting language or Default scripting language or not:
             not:                               It is the default scripting language for
             It is the not the deault scripting most web browsers.
             language.It must be specified as
             the scripting language.

      7      How to denote functions in          How to denote functions in
             VBScript ?                          JavaScript ?
             It uses Function and End Function   It uses curly braces to denote
             to denote functions.                functions.

      8      Same / Different Character used     Same / Different Character used for
             for different actions:              different actions:
             It uses different characters for    It uses the same character (+) for both
             different actions.example: & for    addition and concatenation.
             concatenation and + for addition.

      9      File Extension:                    File Extension:
             File extension for VBScript     is File extension for JavaScript is .js.
             .vbs or .vba.


And, further updates on difference between questions and answers, please visit my blog @
http://onlydifferencefaqs.blogspot.in/

Difference between vbscript and javascript

  • 1.
    Difference between VBScriptand JavaScript S.No VBScript JavaScript 1 Definition: Definition: VBScript is an Active Scripting JavaScript is an object-oriented language,which uses the scripting language used to enable Component Object Model to programmatic access to objects within access elements of the both the client application and other environment within which it is applications. running. 2 Who developed ? Who developed ? VBScript is developed by JavaScript is developed by Netscape. Microsoft. 3 Client-side / Server-side Client-side / Server-side scripting scripting language: language: It is both Client and server side It is client side scripting language. scripting language. 4 Case sensitive or not: Case sensitive or not: It is not case sensitive. It is case sensitive. 5 Runs on which browser ? Runs on which browser ? VBScript runs only on IE Javascript runs on any browser 6 Default scripting language or Default scripting language or not: not: It is the default scripting language for It is the not the deault scripting most web browsers. language.It must be specified as the scripting language. 7 How to denote functions in How to denote functions in VBScript ? JavaScript ? It uses Function and End Function It uses curly braces to denote to denote functions. functions. 8 Same / Different Character used Same / Different Character used for for different actions: different actions: It uses different characters for It uses the same character (+) for both different actions.example: & for addition and concatenation. concatenation and + for addition. 9 File Extension: File Extension: File extension for VBScript is File extension for JavaScript is .js. .vbs or .vba. And, further updates on difference between questions and answers, please visit my blog @ http://onlydifferencefaqs.blogspot.in/