R
rvandervort
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?
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?