How each of the intrinsic html objects interacts

Assignment Help PHP Web Programming
Reference no: EM13324955

You are to write two versions of this assignment. One using HTML and VBScript and one using HTML and Javascript. In both, you are to create an HTML webpage that:

  1. performs simple edits on user inputs;
  2. displays original and new element values; and
  3. displays some of the element properties 

The purpose of the exercise is to examine how each of the intrinsic HTML objects interacts with VBScript/Javascript.

The specific tasks are:

  1. The user should be able to interact with 6 different types of fields on the HTML page.
    1. six radio buttons (use different values for each radio; the first radio button is checked at load time)
    2. four checkboxes (none of the checkboxes are checked at load time, all have different values)
    3. a select box with five options (the first option ("Select an option from the list below") is selected at load time)
    4. one text box (initial value is a single blank; maximum of 30 characters; all visible)
    5. one textarea (intial value is "Enter your story here"; five rows and 40 columns)
    6. one button (label should read "EDIT and REPORT")
  2. When the user finishes entering data and making selections, the button labelled "EDIT and REPORT" is to be pressed. The VBScript component of the page will then edit the data according to the editing rules below:
    1. Six radio buttons
      The user must select an option OTHER THAN the first one.
    2. Four checkboxes
      At least one checkbox must be checked.
    3. Select box
      The user must select an option OTHER THAN the first one.
    4. Text Box Edits
      The field should be edited to remove any occurrences of the three characters: &; <; >; or *. Identify the number of characters the user entered into the field and the number of characters remaining after the edit.
    5. Text Area
      All blank spaces should be replaced with the + character. Remove all carriage returns (ASCII character 13) and line feeds (ASCII character 10). Identify the number of characters entered into the textarea before and after the edit.

Report any editing omissions to the user (e.g., if the user fails to check a checkbox, isssue a message that says: "You must check at least one checkbox").

  1. Once the user has successfully entered data and made choices, write an output report with the information on the editing results and other descriptive data (i.e., create the page "on-the-fly"). Specifically report for:
    1. Radio Buttons
      • the name of the radio button
      • the value of each radio button
      • the radio button checked at load time
      • the radio button checked by the user
      • the value of the radio button checked by the user
    2. Checkboxes
      • the name of each checkbox
      • the names and values of all the checkboxes chosen by the user
    3. Select Box
      • name of the Select Box
      • list all the options and their associated values
      • the index of the initial selection and its value
      • the index of the final user's selection and its value
    4. Textbox
      • Name of the textbox
      • Original contents and length
      • User's entry before editing and its length
      • User's entry after editing and its length
    5. Textarea
      • Name of the textarea
      • Original contents and length
      • User's entry before editing and its length
      • User's entry after editing and its length

Page design, text labels for options, values and names are entirely up to you.

Reference no: EM13324955

Questions Cloud

Modern computer architecture standards : The X25 demodulator machine has been upgraded to modern computer architecture standards.
Conduct experimental study on free and damped vibrations : Conduct an experimental study on the free and damped vibrations - Prepare a report with made for an experiment
Identify one example of fallacious reasoning : Identify one example of fallacious reasoning. Tell us the context in which the fallacy occurred. Tell us about the fallacy. What were the words or the reasoning involved?
What is the magnitude of the net electric field : Two particles are fixed to an x axis: particle 1 of charge -4.18 × 10-7 C is at the origin and particle 2 of charge +4.18 × 10-7 C is at x2 = 13.9 cm. what is the magnitude of the net electric field
How each of the intrinsic html objects interacts : You are to write two versions of this assignment. One using HTML and VBScript and one using HTML and Javascript.
Estimate the charge magnitude : Two tiny spheres have the same mass and carry charges of the same magnitude. The mass of each sphere is 5.04 10-6 kg. Determine the charge magnitude
Operator overloading : Operator Overloading
At what time does the second car catch up with the first one : A "rocket car" is launched along a long straight track at t = 0 s. It moves with constant acceleration a1 = 1.2m/s2. At what time does the second car catch up with the first one
Explain what is the solubility of m(oh)2 in pure water : What is the solubility of M(OH)2 in pure water. B. What is the solubility of M(OH)2 in a .202 M solution of M(NO3)2? Ksp=5.45E-18

Reviews

Write a Review

PHP Web Programming Questions & Answers

  Create a web site for an apple farm

Create a web site for an apple farm. Create an HTML5 form allowing visitors to create an account with the site. Account details are to be stored in your MySQL database. Information should be stored in a secure way.

  Which of the following jsp expressions is valid

A JSP expression can contain any Java expression that evaluates to a String object, Java object, primitive type, primitive type or Java object

  Why do we create a web site plan

Why do we create a web site plan?2. What are the several types of objectives?

  Random integral numbers based on normal distribution

Prepare a system to generate random integral numbers based on normal distribution. Study Data Generator's structure and extend number generation type to activate normal distribution.

  Design database table required to store children information

Design the database tables required to store children and class information. In addition to the attributes, be sure to check the needed foreign keys and primary keys.

  Develop a dynamic website open university

Develop a dynamic website Open University

  This problem is pertaining to the html language

CS5334.0251/0252, Spring, 2014 Assignment, Advanced Internet Information Processing subject, This problem is pertaining to the HTML language. You can create your own web page by placing an HTML page in the “public html” directory within your home dir..

  Php program to identify leap year

Given a variable called $year, create a PHP program that will print out " is a leap year" or " is not a leap year".

  Define a constructor for class game that takes the initial x

Define a constructor for class Game that takes the initial x and y positions of the player as parameters and creates and initialises the player, dot1, dot2 and dot3 fields.

  Design a phishing pages

An assignment to design a Phishing Pages for a popular website "Apple" Phishing pages like this first page:

  Non-functional mock-up of web pages

Non-functional mock-up of Web pages Diagram of database tables with column names and data types Final tested version of all Web application software.

  Create a simple survey

Create a simple survey form that posts to a PHP script and then saves the form inputs to a file. The program should then respond with a display of the information contained in the file including the latest post

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd