VBScript Enabling : in Modern Browsers

JavaScript and VBScript both are scripting languages at browser side. Lets first list out the difference between the JavaScript and VBScript ?

JavaScript Vs VBScript :

PointJavaScriptVBScript
TypeObject Oriented Scripting languageActive Scripting language.
Developed byNetscapeMicrosoft
Run atClient SideClient as well as Server Side
Case SensitiveYesNo
CompatibilityAll BrowsersIE
Extension.js.vbs

We have listed out the difference and it is clear that, VBScript is not supported by other browsers so it is necessary to use JavaScript as alternative to the browser side scripting language.

Though Internet Explorer (IE) supports VBScript, we need to enable or disable this feature manually. We can achieve this using following steps -

Enable or Disable VBScript in IE :

  1. Go to Tools -> Internet Options from the menu
  2. Select Security tab from the dialog box
  3. Click the Custom Level button
  4. Scroll down till you find Scripting option
  5. Select Enable radio button under Active scripting to enable VBScript (disable radio button to disable VBScript)
  6. Finally click OK and come out