KidsLovePC Contact Us
  Home   PHP  Graphics ASP  JavaScript   J2EE  HTML  JAVA   Swing   Webtip  Forums  Lyric  Free sheet music  Ringtones

VBScript vs JScript

VBscript or JScript are default 2 scripting engines installed by IIS. We need tell ASP file which script engine we use. Be default, VBscript engine is used. We also may use the following declaration statement to define which engine we plan to use:


This declaration element must be first line of the file(before <html> tag) can only occurred once.Any script in a page between <%..%> will be passed to this declared engine. Or you may use any scripting engine in page section by using the following code:

<script language=XXXX>
....script code>

Where XXXXX is either VBScript or JScript.

You may test your IIS setting by copy/paste the following code and save it as ASP file.

Example: display the current date (VBscript)

<title>Writing the Current date to a document with VBscript</title>
This is your first script example, Today's date is
<Script language=vbscript>

Example: display the current date (jscript)

Please note that jscript is case sensitive.

<title>Writing the Current date to a document with jscript</title>
This is your first script example, Today's date is
<Script language=jscript>
document.write(new Date());

ASP tutorial
What is ASP
Install IIS
VBScript or JScript
ClientSide vs ServerSide scripting
ASP execution order
Dealing with Form
More Form example
Variable &Variant
Local variable
Global variable
Use if_then_else
Use Select Case
For_Next loop
Do_while loop
Subroutine vs Function
Request Object
Count Keyword
Using QueryString
Application, Method, Events
Create Virtual Directory
Save array in Application
Session, Method, Events
Using Cookie
Server Object
Ad Rotator
Content Linker
Dictionary object
Filesystemobject Object




Best books about ASP & ASP.Net from Amazon
Beginning Dynamic Websites : with ASP.NET Web Matrix (Programmer to Programmer) (Paperback) Build Your Own ASP.NET Website Using C# & VB.NET (Build Your Own) (Paperback) Professional Active Server Pages 3.0 (Programmer to Programmer) (Paperback) ASP.NET Cookbook (Paperback) ASP.NET Kick Start (Paperback)


Printer Inkjet A Z lyricsLearn ChineseHome|PHP|Swing|HTML|JavaScript|ASP|JAVA|Forum|WebTip|Contact Us
Copyright © All rights reserved(new). Privacy|Copyright
designed by

Please help us cover the web site maintenance fee.
barcode scanner Thermal Printer credit card machine bar code printer