Your regex is incorrect - you are asking for the value to contain '0-9'. Try /^[0-9]+$/ instead: from the beginning (^) to the end ($), one or more (+) digits ([0-9]).
Leave a comment on kbwood.au's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic