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