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 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
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
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
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 > > > > > >
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 > > > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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
|
by: duncan |
last post by:
why does this work :-
<HEAD>
......
<SCRIPT LANGUAGE="javascript">
function test()
{
alert("test 1")
}
</SCRIPT>
|
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 ?...
|
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...
|
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",...
|
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:
|
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...
|
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...
|
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...
|
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...
|
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...
|
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++...
|
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...
|
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...
|
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...
|
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.
| |