When selecting the states by giving the country as input
using ajax cal, how can we ensure that every time it is
hitting the DB and fetching the data? Many time it may load
from the cache.

Answer Posted / atl

ajax call you can check through fiddler(or any debugger). it will show the request and response clearly.

and also, if the selecting states is an ajax call, then it will never use the cached data.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should you disable javascript?

684


What are the uses of javascript in web page designing?

638


What is the use of a number object in javascript?

706


how to read and write a file using JavaScript?

754


What is event in javascript?

668


Explain few difference between null, undefined or undeclared javascript variable?

679


discuss scoping in javascript?

712


Why do we need to declare variables?

668


In javascript what is an argument object?

842


Is javascript multi-threaded or single-threaded?

667


what is pop()method in JavaScript?

712


What does 3 dots mean in javascript?

658


What would be the result of 2+5+”3″?

710


Is javascript easier than java?

651


What is dom in javascript?

719