Good morning, I am Graphic designer and I use Jquery with Moss (sharepoint) CMS Microsoft, developers of this gas plant have no sense of aesthetics code and optimization. I assumed that with a little magic wand, I was going to do div disappear when they are empty, then yes I could have use easily use. empty (), but generates sharepoint and I can not delete upstream. This small function is not much in this case.
<script type="text/javascript"> $(document).ready(function () { $("#header div empty").hide("slow"); }); </script> <div id="header"> <div id="Auteur" style=""> </div> <div id="Date" style=""> </div> <div id="accroche-page" style=""><div dir=""></ div> </div> </div> Can you help me please