Modification in JS to upload more than 2 files
This commit is contained in:
parent
f8d1a1315b
commit
9898bd9df7
|
@ -8,12 +8,12 @@ $(".r_snapshot").hover(
|
|||
}
|
||||
);
|
||||
|
||||
$('input.multi_files').change(function(){
|
||||
$('input.multi_files').live("change", function(){
|
||||
$(this).prev("ul").append("<li>"+$(this).val()+"</li>");
|
||||
new_node =$(this).clone();
|
||||
$(this).css("display","none");
|
||||
new_node.val("");
|
||||
$(this).after(new_node)
|
||||
$(this).before(new_node)
|
||||
});
|
||||
|
||||
$('a.remove_mark').live("click",function(){
|
||||
|
|
Loading…
Reference in New Issue