Autocomplete Search Using Wikipedia API & JQuery - W3lessons - Info
Autocomplete Search Using Wikipedia API & JQuery - W3lessons - Info
info
Home
About Me
Contact
Request a Tutorial
Advertise with Us
Sitemap
50
Shares
39
PHP
jQuery
2
Contact
Codeigniter
Freebies
Html5
CSS3
WallScript Demo
Like
March 1, 2015
jquery
0
0 Comments
39
After
a long time Im
writing this tutorial for my
readers. People have
asked me How to
implement autocomplete
search using Wikipedia
Opensearch API.
What is Autocomplete
24,000+
SUBSCRIBERS
CAN'T GO
WRONG !!!
Search?
http://w3lessons.info/2015/03/01/autocomplete-search-using-wikipedia-api-and-jquery-ui/[29-02-2016 10:29:22]
Enter
your email
Enter
your
emailhere
here
You need to include both jquery & jQuery UI script in the bottom of your page. I
have used googles jQuery CDN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$(".searchbox").autocomplete({
source: function(request, response) {
$.ajax({
url: "http://en.wikipedia.org/w/api.php",
dataType: "jsonp",
data: {
'action': "opensearch",
'format': "json",
'search': request.term
},
success: function(data) {
response(data[1]);
}
});
}
});
Follow W3lessons
Like Page
The above code will send request to Wikipedia & it returns the suggestions based
on the keyword via response in JSON format.
Follow Me
Download
It is very simple to implement in your existing project. I hope you like this tutorial
very much.
Please share your feedback via comments & subscribe to my blog to get the
Karthikeyan K
google.com/+KarthikeyanK
Imagineer, Blogger, Web Deve
Thanks
Your Name
Your Email
1,454 followers
Sign Up
Popular Posts
API, Autocomplete Search, Jquery, search box, Wikipedia
Related Posts
http://w3lessons.info/2015/03/01/autocomplete-search-using-wikipedia-api-and-jquery-ui/[29-02-2016 10:29:22]
jQuery or AngularJS
Which one is better?
About Karthikeyan K
I have more than 5 years of experience in web development arena. I have designed
more
Categories
AngularJs (1)
http://w3lessons.info/2015/03/01/autocomplete-search-using-wikipedia-api-and-jquery-ui/[29-02-2016 10:29:22]
Codeigniter (7)
CSS3 (69)
facebook (35)
Freebies (113)
htaccess (4)
html5 (21)
jquery (120)
Mysql (7)
PHP (55)
SEO (2)
Testing (1)
twitter (5)
Uncategorized (5)
Web Design (75)
Introduction to HTML6
wordpress (11)
jQuery
Recent Comments
vexed user again on Facebook
Timeline Wall Script 2.0 with PHP,
Mysql, jQuery
vexed user on Facebook Timeline
Wall Script 2.0 with PHP, Mysql,
jQuery
newMember on Export HTML
Table to Excel, CSV, JSON, PDF,
PNG using jQuery
AMIT SAMOTA on Facebook
oAuth 2.0 Login without Page
Refresh using jQuery, PHP &
MYSQL
artie mututsa on Facebook Style
Image Upload in Comment Box
using PHP, jQuery & MYSQL
Karthikeyan K on Facebook Style
Image Upload in Comment Box
using PHP, jQuery & MYSQL
BinNurIch on Instant Soundcloud
Search using PHP & jQuery Ajax
artie mututsa on Facebook Style
Image Upload in Comment Box
http://w3lessons.info/2015/03/01/autocomplete-search-using-wikipedia-api-and-jquery-ui/[29-02-2016 10:29:22]
Enter email
Go
Recent Posts
About
Pages
Tags
jQuery or AngularJS
Which one is better?
Karthikeyan K
About Me
Advertise with Us
Contact
Newsletter The Voice of
Web Design & Web
Development
Privacy Policy
Request a Tutorial
Search
Sitemap
Entrepreneur, Imagineer,
Web Developer, Blogger
Chennai - India
itzurkarthi [at] gmail.com
Subscribe my updates
via Email
Cascading
Style Sheets
action
codeigniter
CSS3
Design
facebook facebook
application facebook
wall
script favicon
freebies google+
http://w3lessons.info/2015/03/01/autocomplete-search-using-wikipedia-api-and-jquery-ui/[29-02-2016 10:29:22]
Jquery jquery
new
techniques
php Plug-ins plugins
pricing table
http://w3lessons.info/2015/03/01/autocomplete-search-using-wikipedia-api-and-jquery-ui/[29-02-2016 10:29:22]