my $.ajax request retriving earlier data.
I am retriving data from aspx page passing sql query but it is not
retriving latest data. but if I close the brouser and re-open the url
it is showing latest data.
function saveData(qry)
{
var dbcommand = "<data><dbname>"+dbname+"</dbname><dbquery>"+qry +"</
dbquery><maxrecs>"+n+"</maxrecs></data>";
if(verbose) alert(dbcommand);
var o = $.ajax({
type: "GET",
url: "http://localhost:1234/dbqex.aspx",
data: "dbcmd="+dbcommand,
success: showMessage,
error:function(req,textStatus,errorThrown){
// if url failes you will get
textStatus = 'error'
// req and errorThrown do not contain
info
alert(textStatus);}
});
}
please help
thanks in adv.
Suhas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---