orHor
06-25-2007, 03:57 AM
Hi,
please, take a look at http://orhor.wz.cz/rqst/
there is a document containing two checkboxes.
This is only illustrating example of my trying to have independent instancies of Ajax working.
when you click on one checkbox, all is OK. Ajax call back.php, waits for response and then executes the function. What if I click one checkbox and immediately after that the second one. The response is delivered only for the second one.
can you advise any solution to have more fully functional independent instancies of AJAX in one page?
thank you.
back.php code:
<?php
$id=$_GET['id'];
sleep(3); // for testing reasons
echo "blockResult('$id',true);";
?>
please, take a look at http://orhor.wz.cz/rqst/
there is a document containing two checkboxes.
This is only illustrating example of my trying to have independent instancies of Ajax working.
when you click on one checkbox, all is OK. Ajax call back.php, waits for response and then executes the function. What if I click one checkbox and immediately after that the second one. The response is delivered only for the second one.
can you advise any solution to have more fully functional independent instancies of AJAX in one page?
thank you.
back.php code:
<?php
$id=$_GET['id'];
sleep(3); // for testing reasons
echo "blockResult('$id',true);";
?>