Restricts the characters that are entered into a textbox. Also limits the length of the value to 5.

Eg: <input type="text" onkeypress="return inputLimiter(event,'Numbers', this.value)" />