2013-10-15 26 views
0

我试图上传文件的输入列表如jsfiddle如何可以将uploadify jQuery添加到此控件并上传图像codeigniter。我试图在这里提到的代码link在codeigniter多个uploadify

jQuery(".file_upload").each(function() { 
    jQuery(this).uploadify({ 
     height  : 30, 
     swf   : '/uploadify/uploadify.swf', 
     uploader  : '/script/uploadify/uploadify.php', 
     width   : 120 
    }); 
}); 

但它不适用于我。任何帮助都会很棒。

回答

0

HTML应该是这样的,

<!-- Use file type instead of text --> 
<input type="file" name="test1[]" class="file_upload"/> 
<input type="file" name="test1[]" class="file_upload"/> 
<input type="file" name="test1[]" class="file_upload"/> 

而且对提交的形式

+0

对不起使用代码,上传仅在阿贾克斯的图像。 –