Re: AJAX -- communication timing issue?
- From: "Tim Williams" <saxifraxREMOVE@xxxxxxxxxxxxxxx>
- Date: Sun, 30 Oct 2005 18:18:44 GMT
"rvandervort" <rvandervort@xxxxxxxxx> wrote in message
news:1130692773.824652.180410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I'm having a real problem here.
>
> I have a JS function: getExpenseDetails() it's a asynch call to a
> php
> script behind the scenes which returns XML formatted expense
> details.
> in my onreadystate change function call, handleExpenseDetails I
> popup a
> DIV with a table of the records returned.
>
> For each record, I give the ability to mark and delete, another
> asynch
> call -- deleteExpense(). When that asynch call returns to
> handleDeleteExpense(), I call the same getExpenseDetails() to
> update
> that DIV with the new list of detail records. I check for
> readyState
> == 4 && status == 200 in the handleDeleteExpense() function, but I
> only
> ever get back a readyState value of 1 and status of 200.
>
> What could be going on here?
>
Is it possible there's a problem with your "deleteExpense" server
code?
Or show some client-side code.
Tim.
.
- References:
- AJAX -- communication timing issue?
- From: rvandervort
- AJAX -- communication timing issue?
- Prev by Date: Re: is there a way to reset link states
- Next by Date: Re: is there a way to reset link states
- Previous by thread: AJAX -- communication timing issue?
- Next by thread: Re: AJAX -- communication timing issue?
- Index(es):
Relevant Pages
|