我在下面有两个元素 Plant Type Treatment conc uptake
1 Qn1 Quebec nonchilled 95 16.0
2 Qn1 Quebec nonchilled 175 30.4
3 Qn1 Quebec nonchilled 250 34.8
4 Qn1 Quebec nonchilled 350 37.2
5 Qn1 Quebec nonchilled 500 35.3
6 Qn1 Quebec nonchilled 675 39.2
7 Qn1 Quebec nonchilled 1000 39.7
8 Qn2 Quebec nonchilled 95 13.6
9 Qn2 Quebec nonchilled 175 27.3
10 Qn2 Quebec nonchilled 250 37.1
11 Qn2 Quebec nonchilled 350 41.8
12 Qn2 Quebec nonchilled 500 40.6
13 Qn2 Quebec nonchilled 675 41.4
14 Qn2 Quebec nonchilled 1000 44.3
15 Qn3 Quebec nonchilled 95 16.2
16 Qn3 Quebec nonchilled 175 32.4
17 Qn3 Quebec nonchilled 250 40.3
18 Qn3 Quebec nonchilled 350 42.1
19 Qn3 Quebec nonchilled 500 42.9
20 Qn3 Quebec nonchilled 675 43.9
21 Qn3 Quebec nonchilled 1000 45.5
和<input>
:
<a>
如何从函数中调用事件<input type="file" accept=".jpg, .png, .gif" class="inputUpload" id="fileUpload" onchange="changeAvatar()" onclick="selectFile()" />
<a onclick="selectImage()" href="javascript:void(0);" class="pull-right">Select image</a>
和onchange
:
onclick
答案 0 :(得分:0)
如果使用jQuery,可以尝试:
Out[3]: NORMAL
ID Reference SampleType
3 TCGA-AB-0001 GRCh37 Normal
6 TCGA-AB-0002 GRCh37 Normal
Out[32]: TUMOR
ID Reference SampleType
0 TCGA-AB-0001 HG19 Tumor
8 TCGA-AB-0003 GRCh37 Tumor
9 TCGA-AB-0002 GRCh37 Tumor
或
function selectImage() {
$("#fileUpload").trigger("tap");
}