What do you do if a webservice in unavailable when updating a dropdown?
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-06-16T19:35:33Z
Indexed on
2010/06/16
19:42 UTC
Read the original article
Hit count: 167
I am populating a dropdown from a jquery ajax call to a web service that is returning json data. If for some reason the webservice fails or is unavailable how do I handle this? I don't want to have my users looking at an empty dropdown.
How can I cache the last successful call and use that instead?
© Stack Overflow or respective owner