用原生JS&PHP簡單的AJAX實例

功能介紹:php 1)file.html 使用 xmlhttp 請求服務器端文件 text ,並更新 file.html 的部份內容html 2)update.html 使用 xmlhttp 經過 filewrite.php 更改服務器端文件 text 的內容ajax 3)filewrite.php 接收 update.html 中 xmlhttp 提交的數據更新 text 內容服務器   fil
相關文章
相關標籤/搜索