Displaying 1 result from an estimated 1 matches for "responsetxt".
Did you mean:
responsetext
2008 Aug 25
1
prototype.js Ajax is slow
...e server take 53ms. When I use the second on using the prototype
functions the request from the server is over 200ms. My question is
why, and can it be fixed?
<p><a href="#" onclick="serverSideAlert();">Call server-side
function</a></p>
<p id="responseTxt"></p>
<script type="text/javascript">
function serverSideAlert() {
var request = new XMLHttpRequest();
request.open(''get'', ''/jstest/server_response'', false);
request.send(null);
document.getElementById(''res...