Hi! I’m used to being able to use javascript to simulate a click event like $(“element”).click(); however, I can’t seem to get this to work in Wix. I’m trying to design a login area per my customer’s specifications but can’t do so with the default plugins made available to us through Wix. I was hoping to make the design and simulate clicking the hidden Wix member login.
Hi Jacqueline ,
Here is Wix Api for the onClick event : Button - Velo API Reference - Wix.com .
Also you can click on the element you want it to have the onClick event, then choose onClick function from the properties box.
Hope this helps!
Best,
Mustafa
.on(’ click ') is different from . click ()
3 Likes