-
Notifications
You must be signed in to change notification settings - Fork 18
/
get-url.js
37 lines (32 loc) · 1.08 KB
/
get-url.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$(function(){
//证件类型选择
var showBankDom = document.querySelector('.showBank');
showBankDom.addEventListener('key', function() {
var bankId = showBankDom.dataset['id'];
var bankName = showBankDom.dataset['value'];
var bankSelect = new IosSelect(1, [validateData], {
container: '.container',
title: '',
itemHeight: 50,
itemShowCount: 3,
oneLevelId: bankId,
callback: function(selectOneObj) {
type_yes = true;
// showBankDom.innerHTML = selectOneObj.value;
$('#showBank').html(selectOneObj.value)
showBankDom.dataset['id'] = selectOneObj.id;
showBankDom.dataset['value'] = selectOneObj.value;
// showBankDom.style.color = "#4c4c4c";
$('#showBank').css('color', '#4c4c4c');
idType = selectOneObj.value;
// $("#idTypeNum").attr("disabled", false);
selectType = selectOneObj.id;
checkValidateError();
}
});
});
//获取数目
function getNum(){
return "123"
}
})