You can use Javascript to detect the content of the input box is digit or not.
Here is the code you can use:
if ( (yourcontent+"").match(/^\d+$/) ) {
//it's all digits
}
Revisions
- December 30, 2015 @ 17:18:28 [Current Revision] by admin
- December 30, 2015 @ 17:18:28 by admin
No comments yet.