php フラッシュと ajax は 1 回だけ応答できますか?
<br /> $.ajax({<br /> type: "get",<br /> url: "./test.php",<br /> beforeSend: function(XMLHttpRequest){<br /> console.log("start Send ");<br /> },<br /> success: function(data, textStatus){<br /> console.log("Success!");<br /> },<br /> complete: function(XMLHttpRequest, textStatus){<br /> console.log("complete");<br /> },<br /> error: function(){<br /> alert("Error");<br /> }<br /> });<br />
<br /> ob_start();<br /> echo "First team";<br /> ob_flush(); <br /> flush();<br /> sleep(3);<br /> echo "Follower";<br /> ob_end_clean();<br />