472,371 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

ASP JavaScript versus ASP VBScript

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 understand the differences between ASP JavaScript and ASP VBScript??
Because JavaScript is client-side technology, and ASP is server side
technology. I think VBScript is used to implement ASP pages.

Here's the header differences from the code generator:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

If I put the following in both ASP JavaScript and ASP VBScript, it works
both. But this is JavaScript.
<SCRIPT>
<!--
d = new Date();
document.write (d);
//-->
</SCRIPT>
Please advise,
John


Jul 19 '05 #1
5 6701
both can be used as serverside and both can be used clientside.
VBScript clientside will only work with IE and is not ASP related.
Javascript on the Server is uncommon and in my opion not a good tool for the
job.

Personally I always use VBScript for ASP and javascript for clientside
coding.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
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 understand the differences between ASP JavaScript and ASP VBScript?? Because JavaScript is client-side technology, and ASP is server side
technology. I think VBScript is used to implement ASP pages.

Here's the header differences from the code generator:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

If I put the following in both ASP JavaScript and ASP VBScript, it works
both. But this is JavaScript.
<SCRIPT>
<!--
d = new Date();
document.write (d);
//-->
</SCRIPT>
Please advise,
John


Jul 19 '05 #2
Curt,

I, too, use VBScript for server-side and JavaScript for client-side code,
but I'm interested in your reasons for not liking JavaScript for server-side
code. I would have thought that error detection is reason enough to
encourage JavaScript.

Brian

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
both can be used as serverside and both can be used clientside.
VBScript clientside will only work with IE and is not ASP related.
Javascript on the Server is uncommon and in my opion not a good tool for the job.

Personally I always use VBScript for ASP and javascript for clientside
coding.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
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 understand the differences between ASP JavaScript and ASP

VBScript??
Because JavaScript is client-side technology, and ASP is server side
technology. I think VBScript is used to implement ASP pages.

Here's the header differences from the code generator:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

If I put the following in both ASP JavaScript and ASP VBScript, it works
both. But this is JavaScript.
<SCRIPT>
<!--
d = new Date();
document.write (d);
//-->
</SCRIPT>
Please advise,
John



Jul 19 '05 #3
predominately because it's too easy for people to think that they are
interacting with the client as if it was clientside.... Without a
distinction it's too easy to fall into the wrong mindset. Also, VBScript has
fine error setup if done properly plus it has so many builtin components to
interact with the server that I'm not aware of in javascript.. (mind you I'm
talking javascript and NOT jscript).

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...
Curt,

I, too, use VBScript for server-side and JavaScript for client-side code,
but I'm interested in your reasons for not liking JavaScript for server-side code. I would have thought that error detection is reason enough to
encourage JavaScript.

Brian

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
both can be used as serverside and both can be used clientside.
VBScript clientside will only work with IE and is not ASP related.
Javascript on the Server is uncommon and in my opion not a good tool for

the
job.

Personally I always use VBScript for ASP and javascript for clientside
coding.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
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 understand the differences between ASP JavaScript and ASP

VBScript??
Because JavaScript is client-side technology, and ASP is server side
technology. I think VBScript is used to implement ASP pages.

Here's the header differences from the code generator:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

If I put the following in both ASP JavaScript and ASP VBScript, it works both. But this is JavaScript.
<SCRIPT>
<!--
d = new Date();
document.write (d);
//-->
</SCRIPT>
Please advise,
John




Jul 19 '05 #4
If you're working off of a .NET server, I highly recommend C#. This
language is great (since it's virtually identical to Java), and it's easy to
maintain your code.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Oc**************@tk2msftngp13.phx.gbl...
predominately because it's too easy for people to think that they are
interacting with the client as if it was clientside.... Without a
distinction it's too easy to fall into the wrong mindset. Also, VBScript has fine error setup if done properly plus it has so many builtin components to interact with the server that I'm not aware of in javascript.. (mind you I'm talking javascript and NOT jscript).

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...
Curt,

I, too, use VBScript for server-side and JavaScript for client-side code,
but I'm interested in your reasons for not liking JavaScript for

server-side
code. I would have thought that error detection is reason enough to
encourage JavaScript.

Brian

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
both can be used as serverside and both can be used clientside.
VBScript clientside will only work with IE and is not ASP related.
Javascript on the Server is uncommon and in my opion not a good tool
for the
job.

Personally I always use VBScript for ASP and javascript for clientside
coding.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
> 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 understand the differences between ASP JavaScript and ASP
VBScript??
> Because JavaScript is client-side technology, and ASP is server side
> technology. I think VBScript is used to implement ASP pages.
>
> Here's the header differences from the code generator:
> <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
> <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
>
> If I put the following in both ASP JavaScript and ASP VBScript, it

works > both. But this is JavaScript.
> <SCRIPT>
> <!--
> d = new Date();
> document.write (d);
> //-->
> </SCRIPT>
>
>
> Please advise,
> John
>
>
>
>
>
>



Jul 19 '05 #5
But that's a beast of a different color...

And yes I agree... C# with ASP.NET is a wonderful platform. I have shifted
to it almost 100% myself.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"mStar" <ms***@hotmail.com> wrote in message
news:OB*******************@news04.bloor.is.net.cab le.rogers.com...
If you're working off of a .NET server, I highly recommend C#. This
language is great (since it's virtually identical to Java), and it's easy to maintain your code.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Oc**************@tk2msftngp13.phx.gbl...
predominately because it's too easy for people to think that they are
interacting with the client as if it was clientside.... Without a
distinction it's too easy to fall into the wrong mindset. Also, VBScript

has
fine error setup if done properly plus it has so many builtin components

to
interact with the server that I'm not aware of in javascript.. (mind you

I'm
talking javascript and NOT jscript).

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...
Curt,

I, too, use VBScript for server-side and JavaScript for client-side code, but I'm interested in your reasons for not liking JavaScript for

server-side
code. I would have thought that error detection is reason enough to
encourage JavaScript.

Brian

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OV**************@tk2msftngp13.phx.gbl...
> both can be used as serverside and both can be used clientside.
> VBScript clientside will only work with IE and is not ASP related.
> Javascript on the Server is uncommon and in my opion not a good tool for the
> job.
>
> Personally I always use VBScript for ASP and javascript for clientside > coding.
>
> --
> ----------------------------------------------------------
> Curt Christianson (Software_AT_Darkfalz.Com)
> Owner/Lead Designer, DF-Software
> http://www.Darkfalz.com
> ---------------------------------------------------------
> ..Offering free scripts & code snippits for everyone...
> ---------------------------------------------------------
>
>
> "John Davis" <jr*******@hotmail.com> wrote in message
> news:ed**************@TK2MSFTNGP10.phx.gbl...
> > 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 understand the differences between ASP JavaScript and ASP
> VBScript??
> > Because JavaScript is client-side technology, and ASP is server side > > technology. I think VBScript is used to implement ASP pages.
> >
> > Here's the header differences from the code generator:
> > <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
> > <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
> >
> > If I put the following in both ASP JavaScript and ASP VBScript, it

works
> > both. But this is JavaScript.
> > <SCRIPT>
> > <!--
> > d = new Date();
> > document.write (d);
> > //-->
> > </SCRIPT>
> >
> >
> > Please advise,
> > John
> >
> >
> >
> >
> >
> >
>
>



Jul 19 '05 #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...
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>
59
by: Mr. x | last post by:
Hello, I need a good help/tutorial for VB, please (I preffer *.chm help file). Also : for the function : now() in VBScript for getting the current time, what is the counterpart function of VB ?...
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: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

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.