Registration Form function Fun() { } var var o=/^[0-9][10]$/; if(o.test(c)) { } c=document.frm1.code.value; } alert(Good Phone...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
<head> <title>Registration Form</title> <script type="text/javascript"> function Fun() { } var var o=/^[0-9][10]$/; if(o.test(c)) { } c=document.frm1.code.value; } alert("Good Phone number"); else ( alert("Bad Phone Number"); </script> </head> <body> <form method="POST" name=frm1> Phone <input type="text" name="code"> <input type="submit" value="submit" onclick=Fun()> </form> </body> </html> What is the output? a. Phone Bad Phone number b. Phone Good Phone number C. Phone Answer: b submit submit submit <head> <title>Registration Form</title> <script type="text/javascript"> function Fun() { } var var o=/^[0-9][10]$/; if(o.test(c)) { } c=document.frm1.code.value; } alert("Good Phone number"); else ( alert("Bad Phone Number"); </script> </head> <body> <form method="POST" name=frm1> Phone <input type="text" name="code"> <input type="submit" value="submit" onclick=Fun()> </form> </body> </html> What is the output? a. Phone Bad Phone number b. Phone Good Phone number C. Phone Answer: b submit submit submit
Expert Answer:
Answer rating: 100% (QA)
The image contains a snippet of HTML code with an embedded JavaScript function This code is designed ... View the full answer
Related Book For
Managerial Economics Theory Applications and Cases
ISBN: 978-0393912777
8th edition
Authors: Bruce Allen, Keith Weigelt, Neil A. Doherty, Edwin Mansfield
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
Quiz 1 Question-1 (3 marks) Consider the following Fixed Price Incentive Fee Contract agreement for a project: Cost estimate Fee Target Price Maximum Price (fee + reimbursement) Maximum Profit Cost...
-
Write each number in scientific notation. 0.875
-
What are the auditor's responsibilities that are included in the independent auditor's report?
-
For the following exercises, consider this scenario: The median home values in subdivisions Pima Central and East Valley (adjusted for inflation) are shown in Table 1. Assume that the house values...
-
What is the difference between an accountor and an accountee? Is it important for the needs of both to be taken into account when designing an accounting system? Provide reasons for your view.
-
Heron Company purchases commercial realty on November 13, 1997, for $650,000. Straight-line depreciation of $287,492 is claimed before the property is sold on February 23, 2015, for $850,000. What...
-
1. (10 points) At formation, the balance sheet of ABCD general partnership is as follows: Partner A Profit/Loss Asset Adjusted FMV % basis 25 Land (1) 30000 90000 Note 10000 10000 receivable B 25...
-
Phil Williams and Liz Johnson are 60% and 40% partners, respectively, in Williams & Johnson Partnership. Their beginning basis is $33,000 for Phil and $31,000 for Liz. The partnership had the...
-
Write a C++ program for this with a clear comment and algorithms Implement the queue data structure using arrays of size 10 with the following functions Enqueue () - add {2,3,4,5,6,7,8} to the queue...
-
Verify the identity. (1+sinx) (1-sinx)=cos^(2)x
-
Explain the difference in knowledge workers and touch workers. Provide an example of each.
-
Solve for x. (1) = 3125
-
The exam allows students to relate theory to practice exploring an area of the course work as it relates to the real world. Students may choose to review an article of choice published in a business...
-
From the four forms of costs of communication known as: Wasted time, Wasted efforts, Lost Goodwill, and Legal problems . Match the following situations with the correct cost of communication. 1)...
-
74.The water is flowing through a pipe having diameters 20cm and 15cm at sections 1 and 2 respectively. The rate of flow through a pipe is 40litres/s. The section 1 is 6m above the datum line and...
-
Use the method of Example 4.29 to compute the indicated power of the matrix. 1 0 1
-
The Bartholomew Company's profit is related in the following way to its output: = 40 + 20Q 3Q2, where is total profit and Q is output. a. If the firm's output equals 8, what is its marginal...
-
In 1985 United Airlines purchased Pan Am's Pacific Division for $750 million. The Department of Justice opposed the purchase, but it was approved by the U.S. Department of Transportation. The...
-
The Morrison Company produces tennis rackets, the marginal cost of a racket being $20. Because there are many substitutes for the firm's rackets, the price elasticity of demand for its rackets equals...
-
For each of the following procedures, indicate whether sampling would or would not be used. Give reasons for your answers. a. Examinations of marketable securities. b. Confirmation letters sent to...
-
What are control risk assessment procedures?
-
Which of the following statements concerning working papers is incorrect? a. An auditor may support an opinion by other means in addition to working papers. b. The form of working papers should be...
Study smarter with the SolutionInn App