Where the heck is ... ?

Mind boggling functions in WIX … as one reviewer described it “…rich features, but the amount of functions is overwhelming”. Yep, I’m overwhelmed

My big ? is where the heck is the ONCLICK function on my button I just created? I’ve seen it before but looking in settings, design, all the features I can’t find it to add code for a search query in my database table.

It’s in properties ?

Right click the button, click on properties. In the bottom of the panel that comes up, you can add event handlers for thing like on click, on viewport enter, etc. When you add a handler, the event code will automatically be added to the bottom of the page code.