JSFiddle - React, Tailwind, and code Playground

by jjay225

HTML

<input id='isnum' type='text' value='123457890123' />

JavaScript

if($('#isnum').val().length ==13 && isNaN($('#isnum').val())==false)
{
alert('passed');            
}