|
|
| Variables [+] Favor-It | |
| |
 |
| | Sort By:
|
This subroutine creates a variable for each form item found on Request.Forms or Request.QueryString collections. The variable is given the same name as the form items name. Author: Dean Kroon Code: |
Learn how to round numbers to various decimal points/ nearest integer in JavaScript. Use the technique to format monetary values, run-on numeric values, etc. Author: George Chiang |
Need to get a variable from client to server?
this first visit to the page has an empty string for tPass variable, after the user clicks the submit button the page re-loads itself but this time, with tPass holding a value the user enters
Code: ASP 3.0 & VBScript |
|  | |
One of the most used but least understood features of VBScript is the flexibility of variables and values as used throughout the language. In this first article, we will explore the basic principles of variables and values. Author: Bill Wilkinson Code: ASP 3.0 & VBScript |
In the previous tip, I mentioned how ASP pages which don't use Option Explicit and have variable names that seem to mysteriously appear are difficult to read. The same is true if your variable names are hectically declared all over the ASP page.
Author: 4guysfromrolla.com Code: ASP 3.0 & VBScript |
By inserting this code, you are telling the ASP parsing engine that you want to explicitly declare all your variables (via a Dim statement). This is good! :) Using Option Explicit allows you to easily catch misspelled variable names.
Author: 4guysfromrolla.com Code: ASP 3.0 & VBScript |
If you give your variables names like i, j, x1, stuff, or blah, you are using poorly named variables, I assure you! Imagine reading through the code. Author: 4guysfromrolla.com Code: ASP 3.0 & VBScript |
|  | |
There are many times when you will need to pass information from one ASP page to another. This FAQ describes how to pass variables between ASP pages. Author: 4GuysFromRolla Code: ASP 3.0 & VBScript |
you're coming here directly and haven't read A Pair of Functions for Multi-Page Forms, you should do so now so you know what you're getting into. What follows is a set of extremely helpful code that should make your life a lot easier. Author: ASP101 Code: ASP 3.0 & VBScript |
Icon Key >
 - Recently Updated
 - Showcase Listing
|