Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comments? Client-side VBScript vs. JavaScript

Status
Not open for further replies.

kim1234

Programmer
Jun 19, 2002
49
US
A recent thread (thread329-354884) discussed trying to use client-side VBScript instead of JavaScript. Wondering what the pros/cons might be, beyond the obvious issue of browser support for client-side VBScript.

Are there any great advantages to using VBScript when scripting client-side specifically for IE?

My perspective: I use both, although VBScript server-side (with ASP) and JavaScript client-side (for web pages). I know I can use VBScript client-side, although have not had the need to do so, and realistically need scripts that work in NN, Mozilla and Opera, as well as IE.

TIA for your two cents....
K
 
According to our programming standards document Client-side scripting should be developed in Javascript or Jscript Server-side scripting should be developed in VBScript. I think the reason has something to do with performance.
 
The only reason I use client-side JScript and server-side VB is that it's more easy to recognize the scope of a script in the source when not using an advanced-colorized source editor. Water is not bad as soon as it stays out human body ;-)
 
The other problem using VB for client side is the browser compatability problem. Netscape will not correctly display VB script.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top