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 :
- Go to Tools -> Internet Options from the menu
- Select Security tab from the dialog box
- Click the Custom Level button
- Scroll down till you find Scripting option
- Select Enable radio button under Active scripting to enable VBScript (disable radio button to disable VBScript)
- Finally click OK and come out