Checkout
* CVV or CVC is the card security code, unique three digits number on the back of your card separate from its number.
$(document).ready(function() { // Radio box border $('.method').on('click', function() { $('.method').removeClass('blue-border'); $(this).addClass('blue-border'); }); // Validation var $cardInput = $('.input-fields input'); $('.next-btn').on('click', function(e) { $cardInput.removeClass('warning'); $cardInput.each(function() { var $this = $(this); if (!$this.val()) { $this.addClass('warning'); } }); }); }); }
Langsung ke konten utama
Komentar
Posting Komentar