Add js code to submit id_card

This commit is contained in:
PCoder 2017-10-22 00:20:40 +02:00
parent 8351b1bf8b
commit 21bb336166

View file

@ -195,5 +195,11 @@ $(document).ready(function () {
$(element).closest('.form-group').append(error); $(element).closest('.form-group').append(error);
} }
}); });
$('.credit-card-info .btn.choice-btn').click(function(){
var id = this.dataset['id_card'];
$('#id_card').val(id);
$('#billing-form').submit();
});
}); });