Purchase Solution

Interactive Web Page: Swapping Textboxes

Not what you're looking for?

Ask Custom Question

Write an interactive Web page named swap.html that contains two text boxes and a button. When the user clicks the button, the contents of the two text boxes should be swapped. The text boxes should appear on the same line, centered in the page, and the button should be centered below. Appropriate labels should accompany all elements.

Purchase this Solution

Solution Summary

This solution deals with designing a HTML page that consists of two text boxes and a button. On clicking the button the contents of the two text boxes get swapped (see attachment).

Solution Preview

Attached is the html document.

Provided is a written Java Script function in order to accomplish the task. The logic is quite simple. Defined is a variable temp that holds the ...

Purchase this Solution


Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Javscript Basics

Quiz on basics of javascript programming language.