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
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn