SuperSniper6
New Coder
I am attempting to validate a text field entry so that it only accepts positive numbers via the windows prompt (JavaScript). When I pass the arguments through, however, the program either won't validate (if statement) or gets stuck in a infinite cycle (while or do-while). What could I do to get my program to work as intended?