Wiki search help

Hello,

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

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 &

2 Likes

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