$("#btnAddImage").click(function(){
$("#image_list").append("<input id=\"_ImageID_"+$(this).attr("fyVal")+"\" name=\"_ImageID_"+$(this).attr("fyVal")+"\" class=\"text_w3\" type=\"file\" />");
$(this).attr("fyVal", $(this).attr("fyVal") * 1 + 1);
});我动态生成file控件,到服务端获取
我这样写Request.Files.Count 获取不到提示都为0
客户端动态生成file控件 服务端获取 我这样写错了吗??大家帮忙看下 谢谢~!
$("#image_list").append("<input id=\"_ImageID_"+$(this).attr("fyVal")+"\" name=\"_ImageID_"+$(this).attr("fyVal")+"\" class=\"text_w3\" type=\"file\" />");
$(this).attr("fyVal", $(this).attr("fyVal") * 1 + 1);
});我动态生成file控件,到服务端获取
我这样写Request.Files.Count 获取不到提示都为0
客户端动态生成file控件 服务端获取 我这样写错了吗??大家帮忙看下 谢谢~!
解决方案 »
- C#如何将数据添加到GridView对应的行和列中
- 求一条注册用正则。
- 页面第一次下载excel时候提示下载内容有风险,要确认后才能再次下载,能在程序里去掉这个确认提示吗?
- 请问我在表格里放图片时没有设置边框,但在运行时图片边上却有蓝色边框??
- 求助:为什么我下载的IEWebControls.exe安装后没有Microsoft.Web.UI.WebControls.dll
- GridView导出Excel
- 一个郁闷的问题:弹出新窗口并关闭父窗口可以,但是,多次打开新窗体后所有的窗体就自动关闭?在线等待。
- 如何像CSDN论坛一样自由关闭左框架
- inner join 的问题
- 大家看一看这段代码?
- 是不是“插件”这种技术今后会慢慢消失呀?看到ipad不支持flash所想到的!
- ASP跳转页面 急!!
System.Web.HttpFileCollection files = System.Web.HttpContext.Current.Request.Files;
//共上传的文件个数
int iFile = files.Count;
这样也是0 呜呜呜
2.have you use ajax,if true ,then drop it
good luck
$("#image_list").append("<input runat=server id=\"_ImageID_"+$(this).attr("fyVal")+"\" name=\"_ImageID_"+$(this).attr("fyVal")+"\" class=\"text_w3\" type=\"file\" />");