0
I’m using Bootstrap and in a modal simulate the process of sending data to the database.
When the user clicks to save it displays an alert message asking if this is exactly what the user wants to do. So, if the user clicks "yes" after the message appears, I display a load. gif to simulate that I am sending the data until I get a reply.
The problem happens in the Chrome and IE browser, where the image does not appear in the format . gif, while in Firefox everything happens normally.
Follows the code: https://jsfiddle.net/pedroaugustoneto/pcv3gv7g/7/, this link works perfectly, just not in the project.
Is your project code exactly the same as jsfiddle? Or is this provided as an example?
– Rafael Withoeft
I only took the part of Modal, I am using Adminlte-master: http://minhateca.com.br/ClaytonFerraz/Iclinical/AdminLTE-master,69152643.zip%28archive 29%
– Pedro A.
Are there any errors in the console? Not found for example
– Lucas
No error. I did a test trying to display . gif in another div and the image uploaded, plus after ajax finished running. In case I want it to appear before. In firefox everything happens normal.
– Pedro A.
Is there an easier way to simulate a loading... ?
– Pedro A.
I believe this way is the easiest. The problem is that this fiddle there works here in Chrome, I have no help
– Lucas