Explorar el Código

Listing 5.20: stripping tags with text().

Frederic G. MARAND hace 8 años
padre
commit
337fec6593
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Chapter 5/05.js

+ 1 - 0
Chapter 5/05.js

@@ -51,6 +51,7 @@ $(document).ready(function () {
       .find('span.drop')
       .html('…')
       .end()
+      .text($clonedCopy.text())
       .prependTo($parentParagraph);
   });
 });