問題詳情

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";

參考答案

答案:C

統計:A:0,B:0,C:0,D:0,E:0

難度:計算中