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

Where do I put javascript code in html?

510


What are local variables in javascript?

487


What are the main functions performed by javascript statements?

512


What is the syntax of ‘self invoking function’? Give an example?

490


What is eager initialization in java?

508






How do you access an element in an HTML document with JavaScript?

507


What does js stand for?

472


Why do we need hoisting in javascript?

476


How to create function in JavaScript?

612


What is javascript and how it works?

457


Explain prototypal/differential inheritance?

502


Is it possible make a call to server side event of any button using javascript?

539


Where are cookies actually stored on the hard disk?

520


How can javascript be used to personalize or tailor a web site to fit individual users?

472


Is javascript whitespace sensitive?

491