Jump to content

ajax not getting the updated data


kwstephenchan

Recommended Posts

Hi,

I have an ajax call to display the country name for update.

After I change the data and press the updated button, (the data is updated to the database).

But if I select the same country id (without leaving the page), it gives me the old data.

Only if I leave the browser completely and call this ajax again, it then will give me the updated data.

Don't know why can someone please advise what is causing the problem.

 

The sequence of events are:

1. call out the country

2. update the country name

3. call out the country (here it is not showing the updated country name)

But if I leave the browser completely, it will show me the updated country name

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/282977-ajax-not-getting-the-updated-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.