jquery code
$("# bankAccountNumber").change(function(){
alert("1");
var account = $("channelForm.bankAccount.account").val();
alert("2") ;
var reg = /^d{19}$/g; // Start with 19 digits and end with 19 digits
if( !reg.test(account) )
{
alert("Format error, should be 19 digits!");
}
})
html code
Verify bank account number