click input file for firefox

$(“#uploadImg”).click(function(e) {
$(“#fileUpload”).trigger(“click”);
});

but it may fail for IE

Posted in: web