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.



When selecting the states by giving the country as input using ajax cal, how can we ensure that ev..

Answer / 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

More JavaScript Interview Questions

Is it possible to use javascript to change the meta-tags of the page?

0 Answers  


How javascript sort function works?

0 Answers  


Why it is not advised to use innerhtml in javascript?

0 Answers  


Write a program in Java to display the IP address of the local and remote machine.

0 Answers   Annamalai University,


List some of the advantages of javascript.

1 Answers  


What is event bubbling in JavaScript?

0 Answers  


How do I turn on javascript?

0 Answers  


What does javascript do?

0 Answers  


How to create a function using function constructor?

0 Answers  


Does javascript support foreach loop?

0 Answers  


what is the difference between let, var, and const?

0 Answers  


What is the use of anonymous function in javascript?

0 Answers  


Categories