- $(document).ready(function () {
- 'use strict';
- $('#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');
- });
- });
|