function validateCreditCard() {
    var requestId = "isCreditCardValid:" + Math.random();
    var msg = {
        tag: "isCreditCardValid",
        data: requestId
    };
    // console.log(msg);
    sendMessage(msg);
    return requestId;
}
/*
 * Send validation message to the iFrame to check the validity of the credit card number.
 */
Send validation message to the iFrame to check the validity of the credit card number.
Send validation message to the iFrame to check the validity of the credit card number .
function validateCreditCard() {
    var requestId = "isCreditCardValid:" + Math.random();
    var msg = {
        tag: "isCreditCardValid",
        data: requestId
    };
    sendMessage(msg);
    return requestId;
}
function validateCreditCard ( ) { var requestId = "isCreditCardValid:" + Math . random ( ) ; var msg = { tag : "isCreditCardValid" , data : requestId } ; sendMessage ( msg ) ; return requestId ; }
Send validation message to the iFrame to check the validity of the credit card number.
Send validation message to the iFrame to check the validity of the credit card number .
// console.log(msg);