Question: I created a CSV file and I saved it as (CSV UTF8 Comma delimited) but I got message 

> 
> Some features in your workbook might be lost if you save it as CSV UTF-8 (Comma delimited). Do you want to keep using the format?
> 
> 
> 

[![enter image description here](https://i.stack.imgur.com/qWLcH.png)](https://i.stack.imgur.com/qWLcH.png)
I clicked Yes and save the CSV, then I open it again and doing edits when I save it no message appear. but when I open it again the columns merged in one column (as I think the comma removed by somehow!). So what is the issue here??

Before Save

[![enter image description here](https://i.stack.imgur.com/Wrt1I.png)](https://i.stack.imgur.com/Wrt1I.png)

After Save, close, then open it again
[![enter image description here](https://i.stack.imgur.com/j4cpa.png)](https://i.stack.imgur.com/j4cpa.png)

**NOTE: I'm using Office 2016**

Answer: 
Load the image before `$.ajax()` call. Toggle the CSS `display` property of the `<img>` element at `beforeSend` function, instead of changing the `.src` of the `<img>` element.

```
jQuery.ajax({
    url: url,
    type: 'GET',
    timeout: 20000,
    beforeSend: function() {
        console.log(1);
        document.getElementById('reloadIcon').style.display = "block";
        console.log(2);
    },
    success: function (result) {
        document.getElementById('reloadIcon').style.display = "none";
        console.log(3);
    }
    , error: function() {
        document.getElementById('reloadIcon').style.display = "none";
    }
});

```
If you change the src attribute, the browser must complete a bunch of things like look for the image in its cache, probably re-request the image, parse, a.s.o. 

Second, your JS code shares one thread with a lot of other things. Browsers tend to internally cache CSS assignments and execute the following JS code first, as long as the right-then missing, cached changes will not affect the functionality of your code. If you want to force assignment in this case, read the specific CSS property, and the browser will assign the changes before. I tend to state (without having tested), there's such behaviour on attributes as well.

Best practice in this case is the post from guest271314, hiding and showing the outer container is much faster and reliable.