Ver Fonte

Listing 6.23: full documents need to be parsed.

Frederic G. MARAND há 9 anos atrás
pai
commit
2ec8544529
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      Chapter 6/06.js

+ 5 - 0
Chapter 6/06.js

@@ -131,6 +131,11 @@ $(document).ready(function () {
     });
   });
 
+  $('#letter-h a').click(function (event) {
+    event.preventDefault();
+    $('#dictionary').load('h.html');
+  });
+
   var $loading = $('<div id="loading">Loading...</div>')
     .insertBefore('#dictionary');