jQuery(document).ready(function() { jQuery('.cs_blocs').has('.erreur_message') .find('.blocs_titre.blocs_replie').blocs_toggle(); });