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=Dusername id%3Dun> </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=Dusername id%3Dun> </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...
-
The root cause of underdevelopment and environmental degradation is the overdevelopment of a handful of rich nations. Discuss.
-
(a) Explain the fundamental reason for the Mexican currency crisis of December 1994. (b) How does the International Monetary Fund propose to avoid the recurrence of similar crises in the future?
-
You are the project manager of a team that has been asked to complete the design of a chemical plant up to the stage of design selection. You have three engineers available (plus yourself), and the...
-
Further investigate CCP 697.060 to determine how an abstract of judgment is recorded in California.
-
Calgary Injection Moulding operates a job-order costing system and applies overhead cost to jobs on the basis of machine-hours. In computing an overhead rate for the year, the company's estimates...
-
In your opinion, what is professional use of social media? What are some ways to communicate professionally through social media? Research an organization's use of social media for promoting a...
-
Rexon Ltd has just published its financial statements for the year ended 31 December 2018. Rexon Ltd operates a chain of 42 supermarkets in the country. The income statement and summarized statement...
-
Discuss the balance between virtual and face-to-face interactions. Briefly touch on potential future trends in interpersonal communication. Summarize the key points discussed in the presentation.
-
The abstract of a study (Postma, 2014, A relationship between attractiveness and performance in professional cyclists. Biol. Lett., doi: 10:20130966) reads: Females often prefer to mate with high...
-
Look for some comparison metrics (the Bizminer site www.bizminer.com is useful, but see if you can find others). How do your sales per employee figures match the benchmark reports? How does your pro...
-
The following are determinations of a river's annual maximum flow in cubic meters per second: 405,355,419,267,370,391,612,383,434,462,288,317,540, 295, and 508. Construct a stem-and-leaf display with...
-
A machine produces soap bars with a weight of \(80 \pm\) \(0.10 \mathrm{~g}\). If the weight of the soap bars manufactured by the machine may be looked upon as a random variable having normal...
-
Verify that (a) the exponential density \(0.3 e^{-0.3 x}, x>0\) corresponds to the distribution function \(F(x)=\) \(1-e^{-0.3 x}, x>0\) (b) the solution of \(u=F(x)\) is given by \(x=\) \([-\ln...
-
Mariatu is an elementary school teacher who worked 950 hours during the school year and spent $200 on supplies in January, $600 on supplies in March, and $700 on supplies in both July and August...
-
1. As a general strategy, would you recommend that Carl take an aggressive approach to capacity expansion or more of a wait-and-see approach? 2. Should Carl go with the option for one facility that...
-
What is the minimum bandwidth needed to achieve a data rate of B bits/sec if the signal is transmitted using NRZ, MLT-3, and Manchester encoding? Explain your answer.
-
In IP, the checksum covers only the header and not the data. Why do you suppose this design was chosen?
-
In Figure 6-20, suppose a new flow E is added that takes a path from R1 to R2 to R6. How does the max-min bandwidth allocation change for the five flows?
-
Through the implementation of efficient and effective management, New Belgium Brewing (NBB) has grown from operating out of the founder's basement to having two state-of-the-art facilities and over...
-
Define management and indicate what its principal purposes are and why managers are essential to organizations.
-
What are the resources of the organization? How are these used in management decision making?
Study smarter with the SolutionInn App