From 1a99246c739e7208d932ba293abe31f25c1f8ab9 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Tue, 20 Sep 2011 10:50:33 +0200 Subject: [PATCH] Change "method" to "type" in AJAX example, method doesn't exist in jQuery (reported by Martin Pala) --- examples/ajax.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ajax.html b/examples/ajax.html index 9b5ec85..eb0ef9a 100644 --- a/examples/ajax.html +++ b/examples/ajax.html @@ -87,7 +87,7 @@ $(function () { $.ajax({ url: dataurl, - method: 'GET', + type: 'GET', dataType: 'json', success: onDataReceived }); @@ -121,7 +121,7 @@ $(function () { // have static example files so we need to modify the // URL url: "data-eu-gdp-growth-" + iteration + ".json", - method: 'GET', + type: 'GET', dataType: 'json', success: onDataReceived });