C
C
Chokatillo2017-09-20 19:57:04
JavaScript
Chokatillo, 2017-09-20 19:57:04

Ajax site search on a WordPress site without plugins (smart search)?

There is an excellent solution for such a search.

I did everything, but it does not want to work here

. Please tell me what is wrong?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Gamov, 2017-09-20
@serovpochta

$('.ajax-search').fadeIn().html(result);
Firstly, there is simply no such class, secondly, the answer comes, everything works, just parse json from result and paste it.
fix just ajax-search to codyshop-ajax-search

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question