Friday 10, February 2012
Welcome Guest, Register | Login  
      Home    |    Tutorials    |    Free Ebooks    |    Free Scripts    |    Articles    |    Blog     |    Forum    |    About Us    |    Contact Us

Where to

Where to Put the VBScript
Scripts in a page will be executed immediately while the page loads into the browser. This is not always what we want. Sometimes we want to execute a script when a page loads, other times when a user triggers an event.

Scripts in the head section
Scripts to be executed when they are called or when an event is triggered go in the head section. When you place a script in the head section you will assure that the script is loaded before anyone uses it:

Example:



  some statements

Scripts in the body section:
Scripts that are executed when the page loads go in the body section. When you place a script in the body section it generates the content of the page:





  some statements



Scripts in both the body and the head section:
You can place an unlimited number of scripts in your document, so you can have scripts in both the body and the head section.



  some statement(s)




  some statement(s)


 
     
   
VBScript Tutorial
 
  Introduction
Introduction
  How to
How to
  Where to
Where to
  Working With Variables
Working With Variables
  Arrays
Arrays
  VBScript Procedures
VBScript Procedures
  Conditional Statements
Conditional Statements
  For Next Loop
For Next Loop
  While Loop
While Loop
  Comments
Comments
  Date
Date
  MsgBox
MsgBox
 
 
 
Web Designing Tutorials
  HTML Tutorial
HTML Tutorial
  DHTML Tutorial
DHTML  Tutorial
  CSS Tutorial
CSS Tutorial
  XHTML Tutorial
XHTML Tutorial
 
Programming Languages Tutorials
  C Language Tutorial
C Language Tutorial
  C++ Tutorial
C++ Tutorial
  Java Language Tutorial
Java Language Tutorial
  Data Structure Theory Tutorial
Data Structure Theory Tutorial
 
Server Side Scripting Tutorials
  PHP Tutorial
PHP Tutorial
  SQL Tutorial
SQL Tutorial
  ASP Tutorial
ASP Tutorial
 
Client Side Scripting Tutorials
  JavaScript Tutorial
JavaScript Tutorial
  VBScript Tutorial
VBScript Tutorial
 
 
 
POPULAR E-BOOKS
 
Download Introduction To Programming With Java  Ebook Introduction To Programming With Java
   
Download Beginners Guide to Internet Business  Ebook Beginners Guide to Internet Business
   
Download Algorithmic Problem Solving  Ebook Algorithmic Problem Solving
   
Download Computational Modeling and Complexity Science  Ebook Computational Modeling and Complexity Science
   
Download Algorithm and Complexity  Ebook Algorithm and Complexity
   
 
Studiesinn.com © 2012 All Rights Reserved.
Website Designed & Developed by TechXprtz