aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/remote-jsonp.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/autocomplete/remote-jsonp.html')
-rw-r--r--demos/autocomplete/remote-jsonp.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/autocomplete/remote-jsonp.html b/demos/autocomplete/remote-jsonp.html
index 45976bb2c..9962f895d 100644
--- a/demos/autocomplete/remote-jsonp.html
+++ b/demos/autocomplete/remote-jsonp.html
@@ -21,7 +21,7 @@
$( "#birds" ).autocomplete({
source: function( request, response ) {
$.ajax( {
- url: "search.php",
+ url: "search.json",
dataType: "jsonp",
data: {
term: request.term
@@ -37,6 +37,7 @@
}
} );
</script>
+ <script src="../search.js"></script>
</head>
<body>