0
我想通過$ .post命令選擇我的文件?目前,我有它喜歡
<% using (Html.BeginForm("Index", "Upload", FormMethod.Post, new { enctype = "multipart/form-data" })) {%>
<input type='file'></input>
<button>upload</button>
<%}%>
我想通過$ .post命令選擇我的文件?目前,我有它喜歡
<% using (Html.BeginForm("Index", "Upload", FormMethod.Post, new { enctype = "multipart/form-data" })) {%>
<input type='file'></input>
<button>upload</button>
<%}%>
這是不可能。
你應該使用iframe技術(搜索這個),這不是ajax,而是給予'ajax感覺'。
乾杯
Microsoft支持給出了一些說明:
什麼是你的問題? – 2011-05-05 06:36:22