aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/remote-with-cache.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/autocomplete/remote-with-cache.html')
-rw-r--r--demos/autocomplete/remote-with-cache.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/autocomplete/remote-with-cache.html b/demos/autocomplete/remote-with-cache.html
index c4dc42b65..610e74f11 100644
--- a/demos/autocomplete/remote-with-cache.html
+++ b/demos/autocomplete/remote-with-cache.html
@@ -23,13 +23,14 @@
return;
}
- $.getJSON( "search.php", request, function( data, status, xhr ) {
+ $.getJSON( "search.json", request, function( data, status, xhr ) {
cache[ term ] = data;
response( data );
});
}
});
</script>
+ <script src="../search.js"></script>
</head>
<body>