J
J
JyriG2018-08-17 22:23:55
JavaScript
JyriG, 2018-08-17 22:23:55

Why doesn't js work on a wordpress site?

f2.jyrig.me does n't have js working, even though it's perfectly readable by the browser. Here is what the console outputs:
5b77209f1360d669060351.png
What should I do to make it work? I'm new to the subject, thanks in advance :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lloydbanks, 2018-08-17
@JyriG

You write
Replace $with jQuery, or wrap in a self-invoking function

(function($) {
// здесь ваш код 
})(jQuery)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question