Question: 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; }
When validating 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 2, column 6
TYPE html>
Fatal Error: name expected
At line 11, column 55
match(numbers) && inputtxt.cou
Please fix these errors and update it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
