Wiki search help

Wiki search help
0

#1

Hello,

Could anyone help me and explain why my ajax returns error ?


#2

Change:
url:"https://en.wikipedia.org/wiki/w/api.php?action=opensearch&&search="+searchTerm+"&format=json&callback=?"
to:
url:"https://en.wikipedia.org/w/api.php?action=opensearch&&search="+searchTerm+"&format=json&callback=?"

Also you have double &&, which I suppose could do with only one &


#3

thanks man ! :smiley: your’re the best :smiley: