consider the following HTML code: Username: Password: Update the above from and write JavaScript to implement...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
consider the following HTML code: <form action="login.aspx" method=post> <table><tr> <td><label for=un> Username: </label> </td> <td><input type=username id=un></td> </tr> <tr> <td><label for=pwd> Password: </label> </td> <td><input type=password id%-Dpwd></td> </tr> <tr> <td></td><td> <input type=submit value=Login></td></tr> </table> </form> Update the above from and write JavaScript to implement the following constrains: 1. Username and Password fields are required fields. 2. Username field must not contain any spaces. 3. Password field must be at least 8 letters in length and contain at least one of the following characters (@.S,#%}. 4. The query string should not appear in the browsers URL. consider the following HTML code: <form action="login.aspx" method=post> <table><tr> <td><label for=un> Username: </label> </td> <td><input type=username id=un></td> </tr> <tr> <td><label for=pwd> Password: </label> </td> <td><input type=password id%-Dpwd></td> </tr> <tr> <td></td><td> <input type=submit value=Login></td></tr> </table> </form> Update the above from and write JavaScript to implement the following constrains: 1. Username and Password fields are required fields. 2. Username field must not contain any spaces. 3. Password field must be at least 8 letters in length and contain at least one of the following characters (@.S,#%}. 4. The query string should not appear in the browsers URL.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
consider the following HTML code: Username: Password: Update the above from and write JavaScript to implement the following constrains: 1. Username and Password fields are required fields. 2....
-
(a) Consider the following HTML tag: HEADER 1 Under what conditions does the browser use the TITLE attribute, and how? (b) How does the TITLE attribute differ from the ALT attribute?
-
Following is Password criteria Password must be exactly 7 characters long The password must contain at least one Numeric and one Special Character. By assuming that existing users data is already...
-
Read the following statements. In response, state True, False or Uncertain and explain why: (a) Since resources have substitutes, nature imposes particular scarcities, not an inescapable general...
-
Explain: (a) How economic conditions today differ from those prevailing under the gold standard period. (b) Why the different economic conditions today would make the reestablishment of a smoothly...
-
A venturi meter is a device placed in a pipeline to allow for the measurement of flow through that pipeline. As shown in the following figure, the meter consists of a tapered reduction of the pipe...
-
How can a judgment creditor obtain funds in a judgment debtors bank account?
-
Vermont Sky Tours is a small sightseeing tour company based in Burlington, Vermont. The firm specializes in aerial tours of the New England countryside during September and October, when the fall...
-
From these websites: https://writingcommons.org/section/mindset/ https://www.psychologytoday.com/us/blog/click-here-happiness/201904/15-ways-build-growth-mindset What strikes you as most valuable in...
-
Noble plc, a listed company, has for a number of years paid an annual dividend of 90p per share on its 200,000 ordinary shares, which have a total market value of 930,000 cum div. The next annual...
-
As an investor, do you think that the buy low mindset applies to Brazil? If not, what changes would you like to see before making any investment in the country?
-
A uniform magnetic field exists in a cuboidal volume of space with \(l=3 \mathrm{~cm}, b=2 \mathrm{~cm}\), and \(h=1 \mathrm{~cm}\). If the magnetic energy stored in the volume is \(10 \mathrm{~J}\),...
-
Calculate the length of the cylindrical solenoid that has 900 windings, such that the radius of each winding is \(2 \mathrm{~cm}\), that shows an inductance of \(8.5 \times 10^{-2} \mathrm{H}\).
-
You have a circular wire loop of radius \(a=20 \mathrm{~cm}\). It carries a current that increases linearly from 0 to \(5 \mathrm{~A}\) in \(0.01 \mathrm{~s}\). At the center of this loop is a wire...
-
To construct a solenoid having cross-sectional area \(1.256 \times 10^{-3} \mathrm{~m}^{2}\) and 500 windings that can produce a magnetic field of \(10 \times 10^{-3} \mathrm{~T},\) (a) calculate the...
-
Large maps are printed on a plotter and rolled up. The supervisor randomly selects 12 printed maps and unfolds a part of each map to verify the quality of the printing. List one condition under which...
-
A simple harmonic oscillator of amplitude A has a total energy E. At what distance x from the equilibrium does the system's kinetic energy equals 3/4 of the potential energy?
-
Determine whether the lines are parallel, perpendicular, or neither. 2x + 3y = -12, 2y - 3x = 8
-
Suppose that data are transmitted in blocks of sizes 1000 bits. What is the maximum error rate under which error detection and re-transmission mechanism (1 parity bit per block) is better than using...
-
Suppose that you are measuring the time to receive a segment. When an interrupt occurs, you read out the system clock in milliseconds. When the segment is fully processed, you read out the clock...
-
Write a program that implements message flow from the top layer to the bottom layer of the 7-layer protocol model. Your program should include a separate protocol function for each layer. Protocol...
-
How closely related do you believe language and thought to be? During the production of Chapter 3 in this book, the authors and editors debated whether we should use the word "autistics" or the...
-
When did human language originate?
-
How do children learn language?
Study smarter with the SolutionInn App