Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

function allnumeric(inputtxt) { var numbers = /^[0-9]+$/; // For count_network if(inputtxt.count_network.value.match(numbers) && inputtxt.count_memory.value.match(numbers) && inputtxt.count_hdd.value.match(numbers)) { alert('Your Registration number has accepted....'); inputtxt.count_network.focus(); return true; }

Customer name:  



Address:

           




State:
                 



Payment Choices





Enter quantity :-



List-Memory Upgrade :-



List-HDD Upgrade :-



List- Network Upgrade :-



When Validated these errors occur

Warning: The preferred Content-Type for XHTML5 is application/xhtml+xml. The Content-Type was application/octet-stream.

Error: Unnamespaced element html not allowed in this context. (Suppressing further errors from this subtree.)

From line 1, column 16; to line 3, column 6

TYPE html>↩↩↩↩

Fatal Error: name expected

At line 21, column 55

match(numbers) && inputtxt.cou

Please fix these errors and update it

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Answer Heres the corrected code with the errors fixed DOCTYPE html html langen head meta charsetUTF8 meta nameviewport contentwidthdevicewidth initial... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning JavaScript

Authors: Jeremy McPeak

5th Edition

1118903331, 978-1118903339

More Books

Students also viewed these Banking questions

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago

Question

What are the functions of top management?

Answered: 1 week ago

Question

Bring out the limitations of planning.

Answered: 1 week ago