0
我有2个文件上传控件,我使用Jquery Filupload插件,任何人都可以解释我应该如何检查哪个文件上传被点击。jquery文件上传2 fileuploads,如何检查点击哪个文件上传
所以我需要作出哪些文件上传被点击的条件。
我已经这样做了,但同一时间$(“#UiLogo”)。click()正在发射,请帮助我任何一个。
if ($("#UiLogo").click())
{
alert("1 - Called");
$("#UiLogo").val(data.result.Value);
$("#ImgUiLogo").css('display', 'block');
$("#ImgUiLogo").attr("src", JsLogoPath + data.result.Value);
}
else if ($("#AdminLogo").click())
{
alert("2 - Called");
$("#AdminLogo").val(data.result.Value);
$("#ImgAdminLogo").css('display', 'block');
$("#ImgAdminLogo").attr("src", JsLogoPath + data.result.Value);
}
问候
谢谢您的回答 – dotnetexpert