62
表單(Form)需要動態調整 enctype 屬性來達到上傳檔案的需求時,需要將 form物件去設定其
enctype 屬性,下列哪一種語法可在 IE上執行?
(A) document.getElementById("form1").enctype="multipart/form-data";
(B)document.getElementById("form1").enctype="application/x-www-form-urlencoded";
(C)document.getElementById("form1").encoding="multipart/form-data";
(D)document.getElementById("form1").encoding="application/x-www-form-urlencoded";
答案:登入後查看
統計: A(4), B(9), C(57), D(1), E(0) #3272925
統計: A(4), B(9), C(57), D(1), E(0) #3272925