Sfoglia il codice sorgente

Listing 4.6: hide second paragraph.

Frederic G. MARAND 8 anni fa
parent
commit
8a364f88a0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      Chapter 4/04.js

+ 2 - 0
Chapter 4/04.js

@@ -17,4 +17,6 @@ $(document).ready(function () {
     }
     $speech.css('fontSize', num + 'px');
   });
+
+  $('p').eq(1).hide();
 });