|
@@ -3,8 +3,15 @@ $(document).ready(function () {
|
|
|
|
|
|
$('#letter-a a').click(function (event) {
|
|
$('#letter-a a').click(function (event) {
|
|
event.preventDefault();
|
|
event.preventDefault();
|
|
- $.ajax({
|
|
|
|
|
|
+
|
|
|
|
+ $.ajaxSetup({
|
|
url: 'a.html',
|
|
url: 'a.html',
|
|
|
|
+ type: 'POST',
|
|
|
|
+ dataType: 'html'
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ $.ajax({
|
|
|
|
+ type: 'GET',
|
|
success: function (data) {
|
|
success: function (data) {
|
|
$('#dictionary').html(data);
|
|
$('#dictionary').html(data);
|
|
}
|
|
}
|