Hello Guys, I'm using this plugin http://www.fyneworks.com/jquery/multiple-file-upload/ to create a mail attach system, but it is failing to execute on IE7.
Here's my code:
$(".attachFile").live("click",function(){
var id ="#"+$(this).parent().parent().attr("id");
$(id + ' #attach').MultiFile({
onFileAppend: function(element, value, master_element){
$("#"+id + ' .attach-list').append('<li>onFileAppend - '+value+'</li>')
var options = {
url: '/setAttach', // override for form's 'action' attribute
type: 'POST' // 'get' or 'post', override for form's 'method' attribute
};
// bind to the form's submit event
$("#"+id + ' #uploadForm').submit(function() {
$(this).ajaxSubmit(options);
return false;
});
},
afterFileAppend: function(element, value, master_element){
$("#"+id + ' #uploadForm').submit();
}
});
});
This event is fired when user clicks hover a link to attach files. Any clues for what I'm doing wrong?
Thanks