1
My problem: I register information through a modal dialog, when I click save, this information does not automatically list in the listing in IE, but in Chrome works normally. In IE I need to give a F5 in the listing to appear the new record. So I used this function and it updates the page but in this process, it’s like he gave the F5 before registering the record, so he gives the F5 but did not register the information.
$(document).on("click", "#btn-cadastra-atividade", function(){
location.reload(true);});
In the image below shows the modal where I register the information and behind the listing where this new information should appear but not using IE, only in Chrome
Maybe your problem is how you did it to reload information that doesn’t work in IE and you better fix it. How did you do it all?
– Marcelo Diniz
"this information does not automatically list in the IE listing" - can you explain better what’s failing there? it seems better to correct that than to invent other ways..
– Sergio
Post the Ajax part, if it exists, is the back-end PHP or other technology? The problem is probably cache. Please read this: https://answall.com/help/mcve
– Guilherme Nascimento
@Marcelodiniz, Rgio, Uilherme, I’m using angular, and I found a solution but it doesn’t work in IE, so I’m trying to force in javascript
– Isa
@Isa but it would be more interesting to realize what flaw in IE? you can explain what fails?
– Sergio
@Sergio at IE only lists the new record after I give F5 on the page. Already in chhrome it works correctly, so I add a new record it lists without having to give F5, I believe it is a particularity of IE
– Isa
@Isa can put in question the code that generates that list that is failing?
– Sergio
@Isa put the threshing code that we can understand and reproduce, in the way that this will stay in the "I think that’s it, I think that’s it". Create a minimum playable example https://answall.com/help/mcve
– Guilherme Nascimento
You can show the function that makes the registration ?
– Mateus Veloso