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

What is meaning of === in javascript?

557


Explain javascript accessors ?

569


Why is java better than javascript?

530


Hello , I am using following java script to open new window in I.E,but i am facing an issue the new window hangs often while opening,when you move mouse it opens normally.Can any body help me why this is happening as i am unable to understand this issue?please please if any one know so kindly help me I am in real difficulty through this issue.Thanks 'if(window.clipboardData){clipboardData.setData("Text","' + a.PatID + '");}' + 'ordwindow= window.open ("' + @OrderDetailURL + '", "RXOrderDetail", "location=0,status=0,menubar=0,toolba r=0,scrollbars=1,resizable=1"); ordwindow.moveTo(parent.screenLeft,0);var x; x=new ActiveXObject("WScript.Shell");x.SendKeys("% "); x.SendKeys ("x"); //fcttest((sp_RX_ChangeOrderStatus ' + '''' + a.DocID + '''' + ', 1, ' + convert(varchar,@SessionID) + '));' As [W],

1865


Explain hoisting in javascript?

727






What is postback in javascript?

580


What is the data type of variables in javascript?

543


How to set a html document's background color?

629


What is the default data type in javascript?

576


What are the main uses of javascript?

566


Why javascript is called lightweight language?

580


How to Object.entries( ) In JavaScript ?

636


In which location cookies are stored on the hard disk?

586


How Does Function Hoisting Work in JavaScript?

606


Write a program to reverse a string in pure javascript?

570