aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/remote-with-cache.html
diff options
context:
space:
mode:
authorTimo Tijhof <krinkle@fastmail.com>2024-01-03 00:31:36 +0000
committerGitHub <noreply@github.com>2024-01-03 01:31:36 +0100
commit604aae1a5739f4b1980959ceed024e44619f6c7e (patch)
treecd04d910c7bfbfa6b0a0eb319dac0caf4c035a5d /demos/autocomplete/remote-with-cache.html
parent2de8604b67983a53fd42b24610a59e140a1425e9 (diff)
downloadjquery-ui-604aae1a5739f4b1980959ceed024e44619f6c7e.tar.gz
jquery-ui-604aae1a5739f4b1980959ceed024e44619f6c7e.zip
demos: Replace search.php with $.ajaxTransport() mock
Fixes jquery/jqueryui.com#203 Closes gh-2187
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>