AJAX ASP / PHP實例

實例解析-showHint()函數 當用戶在上面的輸入上方鍵入字符時,會執行函數「 showHint()」。該函數由「 onkeyup」事件觸發: 函數showHint (str ){ var xmlhttp ; 如果(STR 。長度== 0 ){文檔。getElementById (「 txtHint 」 )。innerHTML = 「 」 ; 回報; }如果(窗口。XMLHttpRequest
相關文章
相關標籤/搜索