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 :

Point JavaScript VBScript
Type Object Oriented Scripting language Active Scripting language.
Developed by Netscape Microsoft
Run at Client Side Client as well as Server Side
Case Sensitive Yes No
Compatibility All Browsers IE
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. IE Security Tab

  5. Scroll down till you find Scripting option
  6. Select Enable radio button under Active scripting to enable VBScript (disable radio button to disable VBScript)
  7. Enable VBScript in IE

  8. Finally click OK and come out