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!

To VBScript or not to VBScript?

Status
Not open for further replies.

bobbyr

Programmer
Nov 30, 2000
66
US
I've programmed in Visual Basic and ASP for quite a while now. I've always used JavaScript anytime I needed to do anything client-side on the web. Question.. Is VBScript compatible with most browsers or am I best to stick with JavaScript? I never know what browser my users are going to have, and I really don't feel like writing 2 different sites. On the other hand, I was just writing some VBScript and it seems to be much easier that writing JavaScript.

Thanks for the input,

Bobby
 
vbscript is by far easier to write then javascript in my eyes. I'm fairly good at both also. vbscript is a bad idea for general web progamming though client side. IE is the only browser that supports it. So the bottom line is you should not use it client side unless you are in a environment that will be restricted to IE. A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Your best bet for client side coding is (unfortunately) JavaScript [evil]. VBScript is easier, but only supported in IE (I've heard rumors that Netscape 6.0 supports it, but I haven't used a NetScape Browser in years 'cause I work on an IE intranet).

"I really don't feel like writing 2 different sites" - Well, even when you stick w/ JavaScript [evil] - you end up spening half of you time coding for different browsers. ARGH! -- Just trying to help... LOL [ponder]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top