按xmlhttp.open("GET","/try/ajax/demo_get.php",true);發送,可能會獲得緩存中的結果;php
能夠改成xmlhttp.open("GET","/try/ajax/demo_get.php?t=" + Math.random(),true);ajax