Selaa lähdekoodia

Listing 6.23: full documents need to be parsed.

Frederic G. MARAND 9 vuotta sitten
vanhempi
sitoutus
2ec8544529
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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');