//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js $(document).ready(function() { $(« #button1 »).click(function() { $(« #text1 »).toggle(); $(« #text2 »).css(« display », « none »); $(« #text3 »).css(« display », « none »); }); $(« #button2 »).click(function() { $(« #text2 »).toggle(); $(« #text1 »).css(« display », « none »); $(« #text3 »).css(« display », « none »); }); $(« #button3 »).click(function() { $(« #text3 »).toggle(); $(« #text1 »).css(« display », « none »); $(« #text2 »).css(« display », « none »); }); }); Text 1 Text 2 Text 3 Partager :TwitterFacebookWordPress:J'aime chargement… Articles similaires Publié le 15 avril 2020 0 par Les Ateliers de H Non classé Publié dans Non classé