I am hiding a div with the hide () function and if it works, the problem is that when you update the browser several times you see the div for a small moment only, I want to avoid that, that does not appear completely, thanks
I am hiding a div with the hide () function and if it works, the problem is that when you update the browser several times you see the div for a small moment only, I want to avoid that, that does not appear completely, thanks
You can put CSS styles at the start and after starting the hidden and remove the style. Something like this:
<div id="mi_div" style="visibility: hidden;"></div>
And in the code you do this:
$('#mi_div').removeAttr('style');
$('#mi_div').hide();
You can use in your javascript a function that contains the html:
<div id="myDIV">Ocultar</div>
and javascript
document.getElementById("myDIV").style.display = "none";