Jump to content

ajax not getting the updated data


kwstephenchan
Go to solution Solved by 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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.