473,414 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

JavaScript vs VbScript

Hi all,

Our client applies IE as their only acceptable browser, so it makes more
sense for us to employ only VbScript as the client side language. My question
is this, is there any area that VbScript has deficiency or is less compatible
than JavaScript?
Thanks in advance,

Roy
Oct 19 '07 #1
5 1385
I can't think of any real advantage javascript has over VBS, but I'd
recommend you still not use VBScript and use javascript anyway. The may use
a version of IE that supports VBS now, but what about in the future? What
about when the MD wants to access the system from home on FireFox? What
happens if MS ditch VBS support in the future?

To future-proof your solution I'd advise you use javascript.

"Roy" <Ro*@discussions.microsoft.comwrote in message
news:0D**********************************@microsof t.com...
Hi all,

Our client applies IE as their only acceptable browser, so it makes more
sense for us to employ only VbScript as the client side language. My
question
is this, is there any area that VbScript has deficiency or is less
compatible
than JavaScript?
Thanks in advance,

Roy

Oct 19 '07 #2
"Roy" <Ro*@discussions.microsoft.comwrote in message
news:0D**********************************@microsof t.com...
Our client applies IE as their only acceptable browser, so it makes more
sense for us to employ only VbScript as the client side language.
??? Why does it make more sense...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 19 '07 #3
the main restriction of vbscript is event handling in the browser.
vbscript events can not fire until after load, so can not be used for
inline events, also you can not dynamically attach them.

-- bruce (sqlwork.com)

Roy wrote:
Hi all,

Our client applies IE as their only acceptable browser, so it makes more
sense for us to employ only VbScript as the client side language. My question
is this, is there any area that VbScript has deficiency or is less compatible
than JavaScript?
Thanks in advance,

Roy
Oct 19 '07 #4
My opinion is this was ok logic for a IE intranet application, 6-7 years
ago.

But I don't think it makes sense today.

Stick with javascript.

"Roy" <Ro*@discussions.microsoft.comwrote in message
news:0D**********************************@microsof t.com...
Hi all,

Our client applies IE as their only acceptable browser, so it makes more
sense for us to employ only VbScript as the client side language. My
question
is this, is there any area that VbScript has deficiency or is less
compatible
than JavaScript?
Thanks in advance,

Roy

Oct 19 '07 #5
On Fri, 19 Oct 2007 08:34:07 -0700, Roy
<Ro*@discussions.microsoft.comwrote:
>Hi all,

Our client applies IE as their only acceptable browser, so it makes more
sense for us to employ only VbScript as the client side language. My question
is this, is there any area that VbScript has deficiency or is less compatible
than JavaScript?
Thanks in advance,

Roy
If I were you I'd go the javascript route for a number of reasons:
- Much more code and examples are available in javascript than
vbscript
- Things change -- tomorrow you might have to support firefox or
netscape navigator or safari. Do the grunt work early

--
http://bytes.thinkersroom.com
Oct 19 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John Davis | last post by:
Just wonder if <%@ Language="JAVASCRIPT" %> exists?? Since JavaScript is used in client-side scripting, but <% ... %> is used in server-side scripting. It sounds doesn't make sense. But I saw...
5
by: John Davis | last post by:
When I create new documents in Dreamweaver, there are several choices for ASP creation: ASP JavaScript: run at client side?? ASP VBScript: run at server side?? ASP.NET C# ASP.NET VB I don't...
1
by: Ian Sedwell | last post by:
Hi guys Many thanks to all who replied to my original question. Actually, it's dead easy and the way I was doing it was correct the first time. You do indeed simply call the VBScript routine...
13
by: Alex Molochnikov | last post by:
Is there any way to find out programmatically if Javascript is supported/enabled in a browser? By "programmatically" I mean on the Java servlet side. TIA Alex Molochnikov Gestalt Corporation
2
by: duncan | last post by:
why does this work :- <HEAD> ...... <SCRIPT LANGUAGE="javascript"> function test() { alert("test 1") } </SCRIPT>
2
by: shookim | last post by:
I have a problem with my javascript code. The window.onload function doesn't get called when there is vbscript between the two. Here is my code which works: <script type="text/javascript">...
11
by: Doug van Vianen | last post by:
Hi, I often like to include some JavaScript coding in my web pages to make them more interesting. Unfortunately, even when this coding is as simple as a check to see what the display width is in...
10
by: Shadow Lynx | last post by:
That subject packs a whallop, so let me explain in better detail what's happening and how it relates to ASPX pages... In a nutshell, if the first <script /on a page is of type "text/vbscript",...
9
by: Erwin Moller | last post by:
Hi, Can anybody comment on this? In comp.lang.php I advised somebody to skip using: <script language="javascript"> and use: <script type="text/javascript"> And mr. Dunlop gave this response:
5
by: Tomislav | last post by:
Hello, I tried to use "javascript:return confirm();" function in following manner ( triggered by form onSubmit event ): ** <form method="post" action="mail.php" onSubmit="javascript:return...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.