下不了啊... }8Nr.gY
"提取码不存在或已过期。" ,@aF#
$("#pickcode_text").focus(); function onsubmit_pickcode(){ var pickcode = $("#pickcode_text").val(); pickcode = pickcode.replace(/(^\s*)|(\s*$)/g, ""); if(pickcode == ''){ $("#pickcode_error").show(); $("#pickcode_error").html('提取码不能为空,请重新输入。'); $("#pickcode_text").focus(); } else{ window.location.href = '/file/'+pickcode; } }