|
@@ -4,11 +4,12 @@ $(document).ready(function () {
|
|
|
$('#letter-a a').click(function (event) {
|
|
|
event.preventDefault();
|
|
|
$('#dictionary').load('a.html');
|
|
|
- alert('Loaded');
|
|
|
});
|
|
|
|
|
|
$('#letter-b a').click(function (event) {
|
|
|
event.preventDefault();
|
|
|
- $.getJSON('b.json');
|
|
|
+ $.getJSON('b.json', function (data) {
|
|
|
+ console.log(data);
|
|
|
+ });
|
|
|
});
|
|
|
});
|