Validating Numbers in A Form

I am not very good at javascript. I have created a form in Dreamweaver where users enter their checking information. I need a script that validates a routing number. Actually, it just needs to verify that the routing number is nine digits.
Can someone help?

I tried this exactly as you said and it didn't seem to work. My form name is CheckPay.
I have another script that validates the form when the user clicks the submit button. Does that make a difference?

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

The flexibility the writing a separate function like genValidateNumeric is in the reusability.
If one wants to check for specific characters like @ etc , we can modify the function and pass additional parameters to specific what sort of validation to be performed by the function.

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields.
Basic Sorting of Arrays
First, let's look at the …

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …

The viewer will learn the basics of jQuery, including how to invoke it on a web page.
Reference your jQuery libraries: (CODE)
Include your new external js/jQuery file: (CODE)
Write your first lines of code to setup your site for jQuery.: (CODE)

The viewer will learn the basics of jQuery including how to code hide show and toggles.
Reference your jQuery libraries:
(CODE)
Include your new external js/jQuery file:
(CODE)
Write your first lines of code to setup your site for jQuery…