![]() |
|
|
Published: Monday, November 15, 1999 Client-side scripting, as the name implies, is executed scripting code that occurs on the client. This is commonly used for purposes of form validation. For example, if you create a form that contains a text box for the user to enter his or her age, you don't want to let the user enter values like "Bob" or "53213". One way to prevent this is to let the user submit the form, even with erroneous values, and check whether or not the values the user entered were valid using ASP. This is referred to as server-side form validation. Client-side form validation, on the other hand, checks to make sure the values entered into the form are valid before the form is submitted to the server.
Client-side scripting must be done using JavaScript as the scripting language, since Netscape Navigator only accepts JavaScript as a legal, client-side scripting language. Due to the fact that most ASP pages are developed using VBScript as the server-side language, many ASP developers either don't know JavaScript, or are a little rusty at it. Do not fear! The following tutorials will more than help you learn or sharpen your JavaScript skills.
Thau's JavaScript Tutorial
Thau's Advanced JavaScript Tutorial
Quick-Hit JavaScript Questions
VBScript-to-JavaScript Translations
Learning JavaScript is an important aspect of web development. It's unfortunate that so many languages need to be learned to work with the web. However, JavaScript is one of the important ones, and it is important that you at least have an understanding of how JavaScript works, what it can do, and the general form of its syntax. Happy Programming! Additional JavaScript Resources from Jupitermedia
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||