VBScript – Events
What is an Event ? VBScript's interaction with HTML is handled through events that occur when the user or browser manipulates a page. When the page loads, that is an…
What is an Event ? VBScript's interaction with HTML is handled through events that occur when the user or browser manipulates a page. When the page loads, that is an…
There may be a situation when you need to execute a block of code several number of times. In general, statements are executed sequentially: The first statement in a function…
Decision making allows programmers to control the execution flow of a script or one of its sections. The execution is governed by one or more conditional statements. Following is the…
What is an operator? Let’s take an expression 4 + 5 is equal to 9. Here, 4 and 5 are called operands and + is called the operator. VBScript language supports following types of…
Constant is a named memory location used to hold a value that CANNOT be changed during the script execution. If a user tries to change a Constant Value, the Script…
VBScript Variables A variable is a named memory location used to hold a value that can be changed during the script execution. VBScript has only ONE fundamental data type, Variant. Rules for Declaring…
VBScript Placement in HTML File There is a flexibility given to include VBScript code anywhere in an HTML document. But the most preferred way to include VBScript in your HTML…
Not all the modern browsers support VBScript. VBScript is supported just by Microsoft's Internet Explorer while other browsers (Firefox and Chrome) support just JavaScript. Hence, developers normally prefer JavaScript over…
Your First VBScript Let us write a VBScript to print out "Hello World". <html> <body> <script language = "vbscript" type = "text/vbscript"> document.write("Hello World!") </script> </body> </html> In the above…
Microsoft VBScript (Visual Basic Script) is a general-purpose, lightweight and active scripting language developed by Microsoft that is modeled on Visual Basic. Nowadays, VBScript is the primary scripting language for…