利用ajax异步post方式校验验证码

利用ajax异步post方式校验验证码 html step1,得到ajax对象ajax  好比:服务器     var xhr = getXhr();   step2,发送post请求app    xhr.open('post','check_username.do',true);dom    //由于按照http协议的要求,发送post请求时,应该发送一个content-type消息头。异步  
相关文章
相关标签/搜索