K
Kenny
I have this Ajax app and sometimes I need to communicate with the server
only for the side-effect, not expecting any HTML or JSOn data back, but
I should wait on the ACK before proceeding to kick off, say, a reload of
a datagrid which will end up accessing the side-effected server data.
eg, it could simply be a checkbox that says "comedies" and I just want
to repopulate the "movies" store on the server and then quick off a
"refresh" of the grid.
What I found when I returned nothing was I got a "no element" error from
somewhere. But if I returned any empty div whoever it was that was
complaining seemed happy, even tho I did nothing with the div.
I am guessing I am missing some way to say "I handled this already", but
all I do in cases where I /do/ stuff the response into innerHTML is
that, I do not otherwise say "I handled it".
The "no element" error seems benign, but I do not like errors of any
kind, they might not be so benign some day.
Any hints greatly appreciated.
kt
only for the side-effect, not expecting any HTML or JSOn data back, but
I should wait on the ACK before proceeding to kick off, say, a reload of
a datagrid which will end up accessing the side-effected server data.
eg, it could simply be a checkbox that says "comedies" and I just want
to repopulate the "movies" store on the server and then quick off a
"refresh" of the grid.
What I found when I returned nothing was I got a "no element" error from
somewhere. But if I returned any empty div whoever it was that was
complaining seemed happy, even tho I did nothing with the div.
I am guessing I am missing some way to say "I handled this already", but
all I do in cases where I /do/ stuff the response into innerHTML is
that, I do not otherwise say "I handled it".
The "no element" error seems benign, but I do not like errors of any
kind, they might not be so benign some day.
Any hints greatly appreciated.
kt