Calling two functions on a onChange event

Apr 23 2019 1:04 PM
onChange


Hi All

I need to do a mod 10 check, the javaScrit that validates cradit card and routing number on a text box field onChange event

i found two javaScript seperatly

1. CreditCard Number
function Mod10(ccNumb)
Refference: https://www.azcode.com/mod10/mod10.js

2. Routing number
function ABAMod10(aba)
Refference: https://www.azcode.com/ABA/includes/aba.js


Now how do I add these two finctions into a single onChange event

Or else can some club those functions into a single function can also help me.

*** Basically I need to stop the user fron entering the valid credit card or a routing number

Qick Response appreciated.


Answers (2)