'+ ''+ ''+ '
'+ '

联系电话:

'+ ''+ '
'+ '
'+ ''+ '
'+ '
'+ '

上传简历:

'+ '
上传简历
'+ ''+ '
'+ '
'+ '

验证码:

'+ ''+ '验证码'+ ''+ '
'+ ''; layer.open({ type: 1, title: false, closeBtn: 1, shadeClose: false, area: ['auto','auto'], content: html, }); //提交简历 $("#submit_btn").click(function(){ var formdata = new FormData(document.getElementById("form1")); $.ajax({ type:"POST", url:"/index.php?a=ajax&mod=dyajax&act=resume", //data:$("#form1").serialize(), data:formdata, cache:false, async:false, contentType: false, processData: false, dataType:"json", beforeSend:function(){//防止重复提交 //var index = layer.load(0,{shade:0.1,shadeClose:false}); }, success:function(data){ if(data.errcode == 0){ //layer.closeAll(); layer.alert(data.message, {skin: 'layui-layer-molv' ,closeBtn: 0,title:"温馨提示:",icon:2,anim:2}); }else if(data.errcode == 1){ //layer.closeAll(); layer.alert(data.message, {skin: 'layui-layer-molv' ,closeBtn:0,title:"温馨提示:",icon:1,anim:2},function(){window.parent.location.reload();}); } }, error: function(){ //layer.closeAll(); layer.tips("信息提交失败,请点击重试"); } }) }) }; function changeFile(obj) { console.log($(obj)[0].value.split('\\')); $("#file_name").text($(obj)[0].value.split('\\')[2]); };