Numeric variable contains only? fill in the blanks
Answers
Answered by
1
Answer:
To check for all numbers in a field
To get a string contains only numbers (0-9) we use a regular expression (/^[0-9]+$/) which allows only numbers. Next, the match() method of the string object is used to match the said regular expression against the input value
Explanation:
where is blanks
Answered by
4
Explanation:
hope this helps to you ☺️☺️
Attachments:
Similar questions