fnDraw() and return value
fnDraw() and return value
mathie
Posts: 36Questions: 0Answers: 0
I know from the documentation, this function does not return anything (void). Is there a way for fnDraw() to return boolean? (true if data was reloaded and false if data is not available). Or is there other way to know this?
I have an error handling scenario with server-side data source that sends 403 when session times out. Visitors who leave their browser idle will keep reloading the 403 page. Better yet, the client-side script should stop reloading if it determines it cannot fetch the data.
Thanks.
Son
I have an error handling scenario with server-side data source that sends 403 when session times out. Visitors who leave their browser idle will keep reloading the 403 page. Better yet, the client-side script should stop reloading if it determines it cannot fetch the data.
Thanks.
Son
This discussion has been closed.
Replies
Allan