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

        onUploadStart:function(file){
                if ($("#ContractCode").val() == "") {
                    alert("上传之前请输入合同编号!");
                    $("#ContractCode").focus();
                    $("#uploadify").uploadify("cancel","*");
                }
            },

 

posted @ 2017-02-20 16:19  James·wang  阅读(588)  评论(0编辑  收藏  举报