jquery.ripples icon indicating copy to clipboard operation
jquery.ripples copied to clipboard

$(...).ripples is not a function...

Open jordan-webdev opened this issue 4 years ago • 1 comments

I don't know what I'm doing wrong here...this seems like such a basic issue. Trying to get this working on my WordPress site. I enqueued like all other scripts, passed jQuery through the array of dependencies...what could I possibly be doing wrong? It has to be something simple...

jordan-webdev avatar Mar 11 '20 01:03 jordan-webdev

Try to replace $ with jQuery Wordpress uses jQuery no-conflict mode https://api.jquery.com/jquery.noconflict/

Edit: You also can add this var $ = jQuery; to the .js

Tragio avatar Mar 30 '20 10:03 Tragio