uploadify上传之前判断一个input输入框是否为空

        onUploadStart:function(file){
                if ($("#ContractCode").val() == "") {
                    alert("上传之前请输入合同编号!");
                    $("#ContractCode").focus();
                    $("#uploadify").uploadify("cancel","*");
                }
            },
原文地址:https://www.cnblogs.com/firstcsharp/p/6420077.html