View Full Version : javascript or VBscript
orange8
02-10-2005, 10:29 AM
With ASP, is it better to use javascript or VBscript?
Are there anyadvantages or disadvantages of using either one?
Cheers
Brandoe85
02-10-2005, 10:39 AM
vbscript is IE only, I guess if your coding for IE users only(maybe an intranet?), It can have it's advantages, but at any rate I'd use javascript, as it's compatible in almost any browser...
orange8
02-10-2005, 11:31 AM
cheers.
I was leaning towards Javssript as I already work alot with flash and there is a simlar syntax.
rmedek
02-10-2005, 12:00 PM
Keep in mind I don't know much about server-side programming yet, but... would it make a difference concerning IE, seeing as how it's run server-side?
Roelf
02-10-2005, 01:10 PM
for the scripting on the server, it doesn't matter which one you choose. I have used JavaScript (or JScript) and VBscript. If i could choose, i would use JScript. But most asp-programmers are used to VBscript. When it is send to the client, it's all html (perhaps mixed with clientscript which is indeed browserdependant for support) so at the server, it doesn't matter which one you choose.
Concerning your (lack of) experience with server-side programming, it is perhaps better if you choose VBscript, most examples and tutorials cover just the VBscript part
tboss132
02-10-2005, 03:58 PM
vbscript is IE only, I guess if your coding for IE users only(maybe an intranet?), It can have it's advantages, but at any rate I'd use javascript, as it's compatible in almost any browser...
vbscript when it's server-side is not IE only. It works on all browsers. I'm sure you meant client-side when you posted that.
Anyway I code ASP with vbscript, reason being, i was a vb guy before going into web development so vbscript came easy. I know some javascript too but i prefer using javascript for client side validation and stuff and vbscript for the server end.
Also, vbscript is easier to learn than javascript so i guess a newbie to ASP will prefer learning with vbscript. I know guys who were into flash and actionscript (which is very similar to javascript) so ASP with javascript came easy for them.
Brandoe85
02-10-2005, 04:07 PM
You're right, I probably should have mentiond that, but yeah, I assumed they were referring to client-side.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.