Hi,
In my php script, I often use the
echo "<script>alert('".$randnums."')</script>";
command to debug something. It can happen in a loop, also.
I have no way to tell, so I ask here: since php is executed on the
server and JavaScript is executed on the client, when such an alert is
displayed, the code continues on the server side (php) so it's clearly
possible that the php code has finished while the first alert is being
displayed, or is it more complex?