Skip to main content

Problem:

This is a sample of how to use UPPER CASE FUNCTION two different ways

Resolution:

INTRODUCTION

==========

This HTML form illustrates the use of JavaScript to convert the string in input fields to uppercase.

SOURCE FILES:

=========

Program Files              Description

----------------------     -----------------------------------------------------------

ToUpperCase.APP

     NetExpress project file

Form Files:

----------------------     -----------------------------------------------------------

HTMLPage.htm           HTML form with embedded JavaScript

OPERATION:

========

This project does not contain a CGI since the process is done by an embedded JavaScript within the HTML form. This sample shows how to convert string to uppercase by using JavaScript.

1. Load ToUpperCase.APP into Net Express

2. Open HTMLPage.HTM into Form Designer

3. Click Page > Preview

4. Click on the Input button to convert the content of the Input field

5. Place the cursor in the next Input field

6. Press the Up Arrow key to convert the content of the last Input field

NOTE:

====

The JavaScript is associated with the object where an action should take place. To review the JavaScript of an object, just right-click on the object, select Events,

click on the event that is checked from the events list to see the script or JavaScript.

==========================================================

Keywords: demonstration, sample, example, demo, web programming, touppercase.zip

demo.ex

demo.ne

demo.se

Attachments:

touppercase.zip

Old KB# 4207