Add js code to submit id_card
This commit is contained in:
parent
8351b1bf8b
commit
21bb336166
1 changed files with 6 additions and 0 deletions
|
@ -195,5 +195,11 @@ $(document).ready(function () {
|
|||
$(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();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue