diff options
author | Timo Tijhof <krinkle@fastmail.com> | 2024-01-03 00:31:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 01:31:36 +0100 |
commit | 604aae1a5739f4b1980959ceed024e44619f6c7e (patch) | |
tree | cd04d910c7bfbfa6b0a0eb319dac0caf4c035a5d /demos/autocomplete/remote-jsonp.html | |
parent | 2de8604b67983a53fd42b24610a59e140a1425e9 (diff) | |
download | jquery-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-jsonp.html')
-rw-r--r-- | demos/autocomplete/remote-jsonp.html | 3 |
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> |