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="JA VASCRIPT" CODEPAGE="1252" %>
<%@LANGUAGE="VB SCRIPT" 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 6826
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_Da rkfalz.Com)
Owner/Lead Designer, DF-Software http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"John Davis" <jr*******@hotm ail.com> wrote in message
news:ed******** ******@TK2MSFTN GP10.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="JA VASCRIPT" CODEPAGE="1252" %> <%@LANGUAGE="VB SCRIPT" 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_da rkfalz.com> wrote in message
news:OV******** ******@tk2msftn gp13.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_Da rkfalz.Com) Owner/Lead Designer, DF-Software http://www.Darkfalz.com --------------------------------------------------------- ..Offering free scripts & code snippits for everyone... ---------------------------------------------------------
"John Davis" <jr*******@hotm ail.com> wrote in message news:ed******** ******@TK2MSFTN GP10.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="JA VASCRIPT" CODEPAGE="1252" %> <%@LANGUAGE="VB SCRIPT" 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_Da rkfalz.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******** ******@TK2MSFTN GP09.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_da rkfalz.com> wrote in message news:OV******** ******@tk2msftn gp13.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_Da rkfalz.Com) Owner/Lead Designer, DF-Software http://www.Darkfalz.com --------------------------------------------------------- ..Offering free scripts & code snippits for everyone... ---------------------------------------------------------
"John Davis" <jr*******@hotm ail.com> wrote in message news:ed******** ******@TK2MSFTN GP10.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="JA VASCRIPT" CODEPAGE="1252" %> <%@LANGUAGE="VB SCRIPT" 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_da rkfalz.com> wrote in message
news:Oc******** ******@tk2msftn gp13.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_Da rkfalz.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******** ******@TK2MSFTN GP09.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_da rkfalz.com> wrote in message news:OV******** ******@tk2msftn gp13.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_Da rkfalz.Com) Owner/Lead Designer, DF-Software http://www.Darkfalz.com --------------------------------------------------------- ..Offering free scripts & code snippits for everyone... ---------------------------------------------------------
"John Davis" <jr*******@hotm ail.com> wrote in message news:ed******** ******@TK2MSFTN GP10.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="JA VASCRIPT" CODEPAGE="1252" %> > <%@LANGUAGE="VB SCRIPT" 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_Da rkfalz.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******** ***********@new s04.bloor.is.ne t.cable.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_da rkfalz.com> wrote in message news:Oc******** ******@tk2msftn gp13.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_Da rkfalz.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******** ******@TK2MSFTN GP09.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_da rkfalz.com> wrote in message news:OV******** ******@tk2msftn gp13.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_Da rkfalz.Com) > Owner/Lead Designer, DF-Software > http://www.Darkfalz.com > --------------------------------------------------------- > ..Offering free scripts & code snippits for everyone... > --------------------------------------------------------- > > > "John Davis" <jr*******@hotm ail.com> wrote in message > news:ed******** ******@TK2MSFTN GP10.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="JA VASCRIPT" CODEPAGE="1252" %> > > <%@LANGUAGE="VB SCRIPT" 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 that in a ASP
test question before.
The question is like this:
How can you script your ASP code in JavaScript?
The answer is: <%@ Language="JAVASCRIPT" %>
|
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 from the JavaScript routine. It doesn't
matter whether the scripts are in external files, or embedded in the HTML
document, so long as the VBScript is loaded before it is called from
JavaScript - obviously.
The VBScript routine can return a result...
|
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 ?
Thanks :)
| |
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 pixels so that pictures on the
page can be adjusted to better fit the display, Internet Explorer detects
the coding and blocks it. Of course the user can click on the message
displayed above the web page to allow "the active component" but many...
|
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", you cannot use inline JavaScript statements that call
setTimeout with functions that start with a double-underscore. This is
very relavant to ASPX (ASP Dot Net) pages because it means that
AutoPostBacks will fail since they generally call the...
|
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
confirm('Do you really want to send this order ?);">
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |