[Basic] How to use CPAGrip with "on click" option?

whensbrunch

Newbie
Joined
Sep 5, 2017
Messages
19
Reaction score
4
Heyyy sooo...

I've got a site up and running with Wordpress using Namecheap's EasyWP and now would like to use a content locker from CPAGrip.

Using the "on load" option it's no problem: I have a "Per page add to head" plugin and I insert the code for the locker in there. However, using the "on click" option...

upload_2017-9-5_22-5-51.png

... I'm not sure where to place the code onclick="call_locker();"

Could anyone help me out with this? I'm using a Landing Pages plugin and tried inserting it in the button opening tag.
 
i'm not javascript expert, but if you want click call js,
try : <a href="#" onclick="call_locker();">
 
Back
Top