利用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消息頭。異步  
相關文章
相關標籤/搜索